home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 121
/
FreelogMagazineJuilletAout2014-No121.iso
/
Outils
/
Adobe-Air
/
adobe-air_13.exe
/
[0]
/
setup.swf
/
scripts
/
RuntimeInstaller.as
< prev
next >
Wrap
Text File
|
2014-03-27
|
163KB
|
4,407 lines
package
{
import components.AppListAccessibility;
import components.InstallerApplication;
import components.LocalizedButton;
import components.LocalizedLabel;
import components.LocalizedText;
import components.OSButtonBarHBox;
import flash.accessibility.Accessibility;
import flash.accessibility.AccessibilityProperties;
import flash.display.DisplayObject;
import flash.events.ErrorEvent;
import flash.events.Event;
import flash.events.EventDispatcher;
import flash.events.IEventDispatcher;
import flash.events.IOErrorEvent;
import flash.events.KeyboardEvent;
import flash.events.MouseEvent;
import flash.events.ProgressEvent;
import flash.events.TimerEvent;
import flash.system.Capabilities;
import flash.ui.Keyboard;
import flash.utils.Timer;
import flash.utils.getDefinitionByName;
import mx.binding.Binding;
import mx.binding.BindingManager;
import mx.binding.IBindingClient;
import mx.binding.IWatcherSetupUtil;
import mx.containers.Canvas;
import mx.containers.Grid;
import mx.containers.GridItem;
import mx.containers.GridRow;
import mx.containers.VBox;
import mx.controls.Button;
import mx.controls.Image;
import mx.controls.Label;
import mx.controls.List;
import mx.controls.ProgressBar;
import mx.controls.Spacer;
import mx.controls.TextArea;
import mx.core.Application;
import mx.core.ClassFactory;
import mx.core.DeferredInstanceFromFunction;
import mx.core.IFlexDisplayObject;
import mx.core.UIComponent;
import mx.core.UIComponentDescriptor;
import mx.core.mx_internal;
import mx.events.FlexEvent;
import mx.events.PropertyChangeEvent;
import mx.events.StyleEvent;
import mx.resources.ResourceManager;
import mx.skins.ProgrammaticSkin;
import mx.states.AddChild;
import mx.states.RemoveChild;
import mx.states.SetProperty;
import mx.states.SetStyle;
import mx.states.State;
import mx.styles.CSSStyleDeclaration;
import mx.styles.IStyleClient;
import mx.styles.StyleManager;
import mx.utils.ObjectProxy;
import skins.SimpleScrollArrowSkin;
import skins.SimpleScrollThumbSkin;
import skins.SimpleScrollTrackSkin;
import skins.SimpleTwoColorBorder;
use namespace mx_internal;
public class RuntimeInstaller extends InstallerApplication implements IBindingClient
{
private static const Adobe_patent_P758:String = "AdobePatentID=\"P758\"";
private static var _watcherSetupUtil:IWatcherSetupUtil;
private static const Adobe_patent_P763:String = "AdobePatentID=\"P763\"";
mx_internal static var _RuntimeInstaller_StylesInit_done:Boolean = false;
private var _329533269errorText:TextArea;
public var _RuntimeInstaller_SetProperty1:SetProperty;
public var _RuntimeInstaller_SetProperty2:SetProperty;
public var _RuntimeInstaller_SetProperty3:SetProperty;
public var _RuntimeInstaller_SetProperty4:SetProperty;
public var _RuntimeInstaller_SetProperty5:SetProperty;
public var _RuntimeInstaller_SetProperty6:SetProperty;
public var _RuntimeInstaller_SetProperty7:SetProperty;
public var _RuntimeInstaller_SetProperty8:SetProperty;
public var _RuntimeInstaller_SetProperty9:SetProperty;
private var _embed_css_assets_buttons_Button_upSkin_png_1816313042:Class;
private var _853798108updateAppsRunningCanvas:Canvas;
private var _229542092greenCircleIcon:Class;
mx_internal var _bindingsByDestination:Object;
public var _RuntimeInstaller_SetStyle1:SetStyle;
public var _RuntimeInstaller_SetStyle2:SetStyle;
private var _713956140completeFinish:LocalizedButton;
private var asyncCallTimer:Timer;
private var _1992811297completeTextResourceName:String = "";
private var _1318708836updateAppsRunning:TextArea;
private var _embed__font_Myriad_Pro_medium_normal_1137517349:Class;
private var _944448939updateSpacer:Spacer;
private var _1197773823appIconBG:Class;
private var _embed_css_assets_progress_bar_progress_bar_assets_swf_ProgressBarSkin_138477529:Class;
private var _embed_css_assets_buttons_Button_Default_downSkin_png_1979368144:Class;
private var _5542018downArrowNative:Class;
private var _934908847record:ObjectProxy;
public var _RuntimeInstaller_Label1:Label;
public var _RuntimeInstaller_Label2:Label;
private var _1922221831progressCancel:LocalizedButton;
private var _607735242patchSameClose:LocalizedButton;
private var _1634233860uninstallCancel:LocalizedButton;
private var _1458973673uninstallAppCanvas:Canvas;
private const ERROR_ID_TO_NAME:Object = {
5008:"windowsInstallInProgress",
5009:"msiInstallRejected",
5024:"linuxDistroUnknown",
5025:"linuxKeyring",
5028:"linux32NotAllowedOn64Bit",
5029:"linuxMergeCertificateStore",
5030:"linuxInsufficientDiskSpaceAvailable",
5031:"linuxDpkgArNotFound",
5032:"linuxRPMBuildNotFound",
5033:"linuxAuthenticationToolsNotFound",
5034:"applicationsAdobeFile"
};
public var _RuntimeInstaller_SetProperty10:SetProperty;
public var _RuntimeInstaller_SetProperty11:SetProperty;
public var _RuntimeInstaller_SetProperty12:SetProperty;
public var _RuntimeInstaller_SetProperty13:SetProperty;
public var _RuntimeInstaller_SetProperty14:SetProperty;
public var _RuntimeInstaller_SetProperty15:SetProperty;
public var _RuntimeInstaller_SetProperty16:SetProperty;
public var _RuntimeInstaller_SetProperty17:SetProperty;
public var _RuntimeInstaller_SetProperty18:SetProperty;
public var _RuntimeInstaller_SetProperty19:SetProperty;
private var _1230359918patchNow:LocalizedButton;
private var _965310316completeLabelResourceName:String = "";
private var _1869917749airPackageIcon:Class;
public var _RuntimeInstaller_SetProperty20:SetProperty;
private var _1273099399downArrow:Class;
public var _RuntimeInstaller_RemoveChild1:RemoveChild;
public var _RuntimeInstaller_RemoveChild2:RemoveChild;
public var _RuntimeInstaller_RemoveChild3:RemoveChild;
private var _139350644progressContent:VBox;
private var _1707366196redBlockedIcon:Class;
private var _1032081422patchNewerUpdate:LocalizedButton;
private var _1172428532installedApps:Array;
public var _RuntimeInstaller_AddChild10:AddChild;
public var _RuntimeInstaller_AddChild11:AddChild;
private var _1131509414progressBar:ProgressBar;
private var _embed_mxml_assets_add_png_189231772:Class;
private var _embed__font_Myriad_Pro_Bold_medium_normal_1722920897:Class;
private var _1654957862redCircleIcon:Class;
private var _264524434contentBox:VBox;
private var _embed_css_assets_buttons_Button_overSkin_png_1211548296:Class;
mx_internal var _bindingsBeginWithWord:Object;
private var _503203263patchNewerCancel:LocalizedButton;
private var sharedEvents:EventDispatcher;
private var _embed_css_assets_buttons_Button_downSkin_png_1764482764:Class;
private var _embed_css_assets_buttons_Button_Default_DisabledSkin_png_1697721172:Class;
private var _763044039progressLabel:LocalizedLabel;
public var _RuntimeInstaller_VBox3:VBox;
public var _RuntimeInstaller_VBox4:VBox;
public var _RuntimeInstaller_VBox5:VBox;
public var _RuntimeInstaller_VBox6:VBox;
public var _RuntimeInstaller_VBox7:VBox;
private var _1501004228rightArrowNative:Class;
public var _RuntimeInstaller_VBox9:VBox;
private var _1112610870installedAppsList:List;
private var _1257611044patchLater:LocalizedButton;
private var _1748930644patchOlderClose:LocalizedButton;
private var _embed_css_assets_progress_bar_progress_bar_assets_swf_ProgressTrackSkin_748526063:Class;
private var _287913606progressResourceName:String = "";
private var _1415400627rightArrow:Class;
private var _1610096848errorClose:LocalizedButton;
private var _embed_css_assets_buttons_Button_Default_overSkin_png_257358164:Class;
private var _embed_css_assets_buttons_Button_DisabledSkin_png_1526501160:Class;
private var buttonKeyPressTimer:Timer;
private var _992840477airIcon:Class;
private var _1410965406iconImage:Image;
private var _embed_css_assets_buttons_Button_Default_upSkin_png_929957838:Class;
private var _embed_css__assets_scroll_thumb_png_1502202382:Class;
private var _2143069232additionalVersionAdd:LocalizedButton;
private var _3124773eula:EULA;
private var _2057878774redSecurityIcon:Class;
public var _RuntimeInstaller_LocalizedText2:LocalizedText;
public var _RuntimeInstaller_LocalizedText8:LocalizedText;
public var _RuntimeInstaller_AddChild1:AddChild;
public var _RuntimeInstaller_AddChild2:AddChild;
public var _RuntimeInstaller_AddChild3:AddChild;
public var _RuntimeInstaller_AddChild4:AddChild;
public var _RuntimeInstaller_AddChild5:AddChild;
public var _RuntimeInstaller_AddChild6:AddChild;
public var _RuntimeInstaller_AddChild7:AddChild;
public var _RuntimeInstaller_AddChild8:AddChild;
public var _RuntimeInstaller_AddChild9:AddChild;
private var _463497974appIconNativeBG:Class;
private var _1638746770iconBox:VBox;
mx_internal var _watchers:Array;
public var _RuntimeInstaller_VBox10:VBox;
public var _RuntimeInstaller_VBox11:VBox;
public var _RuntimeInstaller_LocalizedLabel9:LocalizedLabel;
private var _295934570updateText:LocalizedText;
private var _703057299yellowSecurityIcon:Class;
private var _458480501additionalVersionCancel:LocalizedButton;
mx_internal var _bindings:Array;
private var _documentDescriptor_:UIComponentDescriptor;
public function RuntimeInstaller()
{
this._documentDescriptor_ = new UIComponentDescriptor({
"type":InstallerApplication,
"propertiesFactory":function():Object
{
return {"childDescriptors":[new UIComponentDescriptor({
"type":VBox,
"id":"iconBox",
"events":{"creationComplete":"__iconBox_creationComplete"},
"propertiesFactory":function():Object
{
return {"childDescriptors":[new UIComponentDescriptor({
"type":Image,
"id":"iconImage",
"propertiesFactory":function():Object
{
return {
"width":83,
"height":81
};
}
})]};
}
}),new UIComponentDescriptor({
"type":VBox,
"id":"contentBox",
"propertiesFactory":function():Object
{
return {
"styleName":"topContentBox",
"percentWidth":100,
"percentHeight":100,
"childDescriptors":[new UIComponentDescriptor({
"type":LocalizedText,
"propertiesFactory":function():Object
{
return {
"percentWidth":100,
"styleName":"h1",
"condenseWhite":true,
"resourceName":"titleMainTitle"
};
}
})]
};
}
})]};
}
});
this._992840477airIcon = RuntimeInstaller_airIcon;
this._1869917749airPackageIcon = RuntimeInstaller_airPackageIcon;
this._703057299yellowSecurityIcon = RuntimeInstaller_yellowSecurityIcon;
this._2057878774redSecurityIcon = RuntimeInstaller_redSecurityIcon;
this._1707366196redBlockedIcon = RuntimeInstaller_redBlockedIcon;
this._1654957862redCircleIcon = RuntimeInstaller_redCircleIcon;
this._229542092greenCircleIcon = RuntimeInstaller_greenCircleIcon;
this._1197773823appIconBG = RuntimeInstaller_appIconBG;
this._463497974appIconNativeBG = RuntimeInstaller_appIconNativeBG;
this._1273099399downArrow = RuntimeInstaller_downArrow;
this._1415400627rightArrow = RuntimeInstaller_rightArrow;
this._5542018downArrowNative = RuntimeInstaller_downArrowNative;
this._1501004228rightArrowNative = RuntimeInstaller_rightArrowNative;
this._1172428532installedApps = [];
this._embed__font_Myriad_Pro_Bold_medium_normal_1722920897 = RuntimeInstaller__embed__font_Myriad_Pro_Bold_medium_normal_1722920897;
this._embed__font_Myriad_Pro_medium_normal_1137517349 = RuntimeInstaller__embed__font_Myriad_Pro_medium_normal_1137517349;
this._embed_css__assets_scroll_thumb_png_1502202382 = RuntimeInstaller__embed_css__assets_scroll_thumb_png_1502202382;
this._embed_css_assets_buttons_Button_Default_DisabledSkin_png_1697721172 = RuntimeInstaller__embed_css_assets_buttons_Button_Default_DisabledSkin_png_1697721172;
this._embed_css_assets_buttons_Button_Default_downSkin_png_1979368144 = RuntimeInstaller__embed_css_assets_buttons_Button_Default_downSkin_png_1979368144;
this._embed_css_assets_buttons_Button_Default_overSkin_png_257358164 = RuntimeInstaller__embed_css_assets_buttons_Button_Default_overSkin_png_257358164;
this._embed_css_assets_buttons_Button_Default_upSkin_png_929957838 = RuntimeInstaller__embed_css_assets_buttons_Button_Default_upSkin_png_929957838;
this._embed_css_assets_buttons_Button_DisabledSkin_png_1526501160 = RuntimeInstaller__embed_css_assets_buttons_Button_DisabledSkin_png_1526501160;
this._embed_css_assets_buttons_Button_downSkin_png_1764482764 = RuntimeInstaller__embed_css_assets_buttons_Button_downSkin_png_1764482764;
this._embed_css_assets_buttons_Button_overSkin_png_1211548296 = RuntimeInstaller__embed_css_assets_buttons_Button_overSkin_png_1211548296;
this._embed_css_assets_buttons_Button_upSkin_png_1816313042 = RuntimeInstaller__embed_css_assets_buttons_Button_upSkin_png_1816313042;
this._embed_css_assets_progress_bar_progress_bar_assets_swf_ProgressBarSkin_138477529 = RuntimeInstaller__embed_css_assets_progress_bar_progress_bar_assets_swf_ProgressBarSkin_138477529;
this._embed_css_assets_progress_bar_progress_bar_assets_swf_ProgressTrackSkin_748526063 = RuntimeInstaller__embed_css_assets_progress_bar_progress_bar_assets_swf_ProgressTrackSkin_748526063;
this._embed_mxml_assets_add_png_189231772 = RuntimeInstaller__embed_mxml_assets_add_png_189231772;
this._bindings = [];
this._watchers = [];
this._bindingsByDestination = {};
this._bindingsBeginWithWord = {};
super();
mx_internal::_document = this;
mx_internal::_RuntimeInstaller_StylesInit();
this.horizontalScrollPolicy = "off";
this.verticalScrollPolicy = "off";
this.percentWidth = 100;
this.percentHeight = 100;
this.layout = "horizontal";
this.states = [this._RuntimeInstaller_State1_c(),this._RuntimeInstaller_State2_c(),this._RuntimeInstaller_State3_c(),this._RuntimeInstaller_State4_c(),this._RuntimeInstaller_State5_c(),this._RuntimeInstaller_State6_c(),this._RuntimeInstaller_State7_c(),this._RuntimeInstaller_State8_c(),this._RuntimeInstaller_State9_c(),this._RuntimeInstaller_State10_c(),this._RuntimeInstaller_State11_c(),this._RuntimeInstaller_State12_c(),this._RuntimeInstaller_State13_c(),this._RuntimeInstaller_State14_c()];
this.addEventListener("preinitialize",this.___RuntimeInstaller_InstallerApplication1_preinitialize);
this.addEventListener("applicationComplete",this.___RuntimeInstaller_InstallerApplication1_applicationComplete);
}
public static function set watcherSetupUtil(param1:IWatcherSetupUtil) : void
{
RuntimeInstaller._watcherSetupUtil = param1;
}
public function ___RuntimeInstaller_State3_enterState(param1:FlexEvent) : void
{
focusManager.setFocus(this.additionalVersionAdd);
}
[Bindable(event="propertyChange")]
public function get uninstallAppCanvas() : Canvas
{
return this._1458973673uninstallAppCanvas;
}
[Bindable(event="propertyChange")]
public function get patchNewerUpdate() : LocalizedButton
{
return this._1032081422patchNewerUpdate;
}
public function ___RuntimeInstaller_State6_enterState(param1:FlexEvent) : void
{
focusManager.setFocus(this.patchOlderClose);
}
private function _RuntimeInstaller_LocalizedText4_c() : LocalizedText
{
var _loc1_:LocalizedText = new LocalizedText();
_loc1_.percentWidth = 100;
_loc1_.condenseWhite = true;
_loc1_.resourceName = "errVersionAlreadyInstalled";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
public function __eula_creationComplete(param1:FlexEvent) : void
{
activate();
}
public function set uninstallAppCanvas(param1:Canvas) : void
{
var _loc2_:Object = null;
_loc2_ = this._1458973673uninstallAppCanvas;
if(_loc2_ !== param1)
{
this._1458973673uninstallAppCanvas = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"uninstallAppCanvas",_loc2_,param1));
}
}
private function _RuntimeInstaller_AddChild7_i() : AddChild
{
var _loc1_:AddChild = new AddChild();
this._RuntimeInstaller_AddChild7 = _loc1_;
_loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox8_i);
BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild7",this._RuntimeInstaller_AddChild7);
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get additionalVersionAdd() : LocalizedButton
{
return this._2143069232additionalVersionAdd;
}
private function _RuntimeInstaller_SetProperty6_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty6 = _loc1_;
_loc1_.name = "stageHeight";
_loc1_.value = 240;
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty6",this._RuntimeInstaller_SetProperty6);
return _loc1_;
}
private function _RuntimeInstaller_Spacer4_c() : Spacer
{
var _loc1_:Spacer = new Spacer();
_loc1_.percentHeight = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_LocalizedLabel7_c() : LocalizedLabel
{
var _loc1_:LocalizedLabel = new LocalizedLabel();
_loc1_.styleName = "h2";
_loc1_.resourceName = "titleUninstall";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_Canvas1_i() : Canvas
{
var _loc1_:Canvas = new Canvas();
this.uninstallAppCanvas = _loc1_;
_loc1_.styleName = "textBorderWrapper";
_loc1_.percentWidth = 100;
_loc1_.id = "uninstallAppCanvas";
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_List1_i());
return _loc1_;
}
private function _RuntimeInstaller_Spacer16_c() : Spacer
{
var _loc1_:Spacer = new Spacer();
_loc1_.height = 10;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_SetProperty20_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty20 = _loc1_;
_loc1_.name = "stageHeight";
_loc1_.value = 210;
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty20",this._RuntimeInstaller_SetProperty20);
return _loc1_;
}
public function set patchNewerUpdate(param1:LocalizedButton) : void
{
var _loc2_:Object = null;
_loc2_ = this._1032081422patchNewerUpdate;
if(_loc2_ !== param1)
{
this._1032081422patchNewerUpdate = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"patchNewerUpdate",_loc2_,param1));
}
}
private function _RuntimeInstaller_OSButtonBarHBox5_c() : OSButtonBarHBox
{
var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
_loc1_.styleName = "buttonRow";
_loc1_.percentWidth = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedButton7_c());
_loc1_.addChild(this._RuntimeInstaller_LocalizedButton8_i());
return _loc1_;
}
public function set eula(param1:EULA) : void
{
var _loc2_:Object = null;
_loc2_ = this._3124773eula;
if(_loc2_ !== param1)
{
this._3124773eula = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"eula",_loc2_,param1));
}
}
public function ___RuntimeInstaller_State11_enterState(param1:FlexEvent) : void
{
focusManager.setFocus(this.completeFinish);
}
[Bindable(event="propertyChange")]
private function get record() : ObjectProxy
{
return this._934908847record;
}
private function _RuntimeInstaller_Spacer3_c() : Spacer
{
var _loc1_:Spacer = new Spacer();
_loc1_.percentHeight = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_LocalizedText3_c() : LocalizedText
{
var _loc1_:LocalizedText = new LocalizedText();
_loc1_.percentWidth = 100;
_loc1_.condenseWhite = true;
_loc1_.resourceName = "msgConfirmUpdate";
_loc1_.useHTML = true;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
public function set additionalVersionAdd(param1:LocalizedButton) : void
{
var _loc2_:Object = null;
_loc2_ = this._2143069232additionalVersionAdd;
if(_loc2_ !== param1)
{
this._2143069232additionalVersionAdd = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"additionalVersionAdd",_loc2_,param1));
}
}
[Bindable(event="propertyChange")]
public function get iconImage() : Image
{
return this._1410965406iconImage;
}
private function _RuntimeInstaller_EULA1_i() : EULA
{
var _loc1_:EULA = new EULA();
this.eula = _loc1_;
_loc1_.percentWidth = 100;
_loc1_.percentHeight = 100;
_loc1_.addEventListener("agree",this.__eula_agree);
_loc1_.addEventListener("cancel",this.__eula_cancel);
_loc1_.addEventListener("creationComplete",this.__eula_creationComplete);
_loc1_.id = "eula";
BindingManager.executeBindings(this,"eula",this.eula);
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_OSButtonBarHBox4_c() : OSButtonBarHBox
{
var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
_loc1_.styleName = "buttonRow";
_loc1_.percentWidth = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedButton6_i());
return _loc1_;
}
private function set airPackageIcon(param1:Class) : void
{
var _loc2_:Object = null;
_loc2_ = this._1869917749airPackageIcon;
if(_loc2_ !== param1)
{
this._1869917749airPackageIcon = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"airPackageIcon",_loc2_,param1));
}
}
private function onPatchNow() : void
{
this.sharedEvents.dispatchEvent(new Event("installui.patchNow"));
}
private function _RuntimeInstaller_LocalizedLabel6_c() : LocalizedLabel
{
var _loc1_:LocalizedLabel = new LocalizedLabel();
_loc1_.styleName = "h2";
_loc1_.resourceName = "titleAlreadyInstalled";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_AddChild6_i() : AddChild
{
var _loc1_:AddChild = new AddChild();
this._RuntimeInstaller_AddChild6 = _loc1_;
_loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox7_i);
BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild6",this._RuntimeInstaller_AddChild6);
return _loc1_;
}
private function _RuntimeInstaller_SetProperty5_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty5 = _loc1_;
_loc1_.name = "stageHeight";
_loc1_.value = 240;
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty5",this._RuntimeInstaller_SetProperty5);
return _loc1_;
}
public function ___RuntimeInstaller_State14_enterState(param1:FlexEvent) : void
{
focusManager.setFocus(this.errorClose);
}
[Bindable(event="propertyChange")]
private function get downArrow() : Class
{
return this._1273099399downArrow;
}
private function _RuntimeInstaller_Spacer15_c() : Spacer
{
var _loc1_:Spacer = new Spacer();
_loc1_.height = 10;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
public function __patchLater_click(param1:MouseEvent) : void
{
this.onPatchLater();
}
[Bindable(event="propertyChange")]
public function get additionalVersionCancel() : LocalizedButton
{
return this._458480501additionalVersionCancel;
}
public function ___RuntimeInstaller_VBox10_creationComplete(param1:FlexEvent) : void
{
activate();
}
public function __additionalVersionAdd_click(param1:MouseEvent) : void
{
this.onConfirm();
}
private function _RuntimeInstaller_Spacer2_c() : Spacer
{
var _loc1_:Spacer = new Spacer();
_loc1_.height = 14;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get completeLabelResourceName() : String
{
return this._965310316completeLabelResourceName;
}
protected function hideFromAccessibility(param1:DisplayObject) : void
{
param1.accessibilityProperties = this.hiddenAccessibility();
}
private function _RuntimeInstaller_OSButtonBarHBox3_c() : OSButtonBarHBox
{
var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
_loc1_.styleName = "buttonRow";
_loc1_.percentWidth = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedButton5_i());
return _loc1_;
}
private function set record(param1:ObjectProxy) : void
{
var _loc2_:Object = null;
_loc2_ = this._934908847record;
if(_loc2_ !== param1)
{
this._934908847record = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"record",_loc2_,param1));
}
}
public function set updateSpacer(param1:Spacer) : void
{
var _loc2_:Object = null;
_loc2_ = this._944448939updateSpacer;
if(_loc2_ !== param1)
{
this._944448939updateSpacer = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateSpacer",_loc2_,param1));
}
}
private function _RuntimeInstaller_LocalizedText2_i() : LocalizedText
{
var _loc1_:LocalizedText = new LocalizedText();
this._RuntimeInstaller_LocalizedText2 = _loc1_;
_loc1_.percentWidth = 100;
_loc1_.condenseWhite = true;
_loc1_.resourceName = "msgClickToContinue";
_loc1_.id = "_RuntimeInstaller_LocalizedText2";
BindingManager.executeBindings(this,"_RuntimeInstaller_LocalizedText2",this._RuntimeInstaller_LocalizedText2);
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_LocalizedLabel5_c() : LocalizedLabel
{
var _loc1_:LocalizedLabel = new LocalizedLabel();
_loc1_.styleName = "h2";
_loc1_.resourceName = "titleAlreadyInstalled";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_AddChild5_i() : AddChild
{
var _loc1_:AddChild = new AddChild();
this._RuntimeInstaller_AddChild5 = _loc1_;
_loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox6_i);
BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild5",this._RuntimeInstaller_AddChild5);
return _loc1_;
}
private function _RuntimeInstaller_SetProperty4_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty4 = _loc1_;
_loc1_.name = "cancelLabel";
_loc1_.value = "btnQuit";
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty4",this._RuntimeInstaller_SetProperty4);
return _loc1_;
}
private function onKeyDown(param1:KeyboardEvent) : void
{
var cb:Button = null;
var event:KeyboardEvent = param1;
if(event.keyCode == Keyboard.ESCAPE)
{
event.preventDefault();
stage.nativeWindow.close();
}
else if(Capabilities.os.indexOf("Mac") != -1 && event.commandKey && event.keyCode == Keyboard.PERIOD)
{
event.preventDefault();
cb = null;
switch(currentState)
{
case "EULA":
case "FirstLaunchEULA":
cb = this.eula.cancelButton;
break;
case "AdditionalVersion":
cb = this.additionalVersionCancel;
break;
case "PatchNewer":
cb = this.patchNewerCancel;
break;
case "UninstallNoApps":
case "Uninstall":
cb = this.uninstallCancel;
break;
case "Progress":
cb = this.progressCancel;
}
if(cb != null)
{
event.preventDefault();
cb.setFocus();
cb.dispatchEvent(new KeyboardEvent(KeyboardEvent.KEY_DOWN,false,false,Keyboard.SPACE,Keyboard.SPACE));
this.buttonKeyPressTimer = new Timer(100,1);
this.buttonKeyPressTimer.addEventListener(TimerEvent.TIMER_COMPLETE,function(param1:TimerEvent):void
{
cb.dispatchEvent(new KeyboardEvent(KeyboardEvent.KEY_UP,false,false,Keyboard.SPACE,Keyboard.SPACE));
});
this.buttonKeyPressTimer.start();
}
}
}
private function _RuntimeInstaller_Spacer14_c() : Spacer
{
var _loc1_:Spacer = new Spacer();
_loc1_.percentHeight = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_ProgressBar1_i() : ProgressBar
{
var _loc1_:ProgressBar = new ProgressBar();
this.progressBar = _loc1_;
_loc1_.percentWidth = 90;
_loc1_.label = "";
_loc1_.mode = "manual";
_loc1_.addEventListener("creationComplete",this.__progressBar_creationComplete);
_loc1_.id = "progressBar";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get progressLabel() : LocalizedLabel
{
return this._763044039progressLabel;
}
public function set updateAppsRunning(param1:TextArea) : void
{
var _loc2_:Object = null;
_loc2_ = this._1318708836updateAppsRunning;
if(_loc2_ !== param1)
{
this._1318708836updateAppsRunning = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateAppsRunning",_loc2_,param1));
}
}
public function set iconImage(param1:Image) : void
{
var _loc2_:Object = null;
_loc2_ = this._1410965406iconImage;
if(_loc2_ !== param1)
{
this._1410965406iconImage = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"iconImage",_loc2_,param1));
}
}
[Bindable(event="propertyChange")]
private function get greenCircleIcon() : Class
{
return this._229542092greenCircleIcon;
}
[Bindable(event="propertyChange")]
public function get errorClose() : LocalizedButton
{
return this._1610096848errorClose;
}
protected function giveAccessibleName(param1:DisplayObject, param2:String, param3:String = null) : void
{
param1.accessibilityProperties = this.accessibleName(param2,param3);
}
private function _RuntimeInstaller_Spacer1_c() : Spacer
{
var _loc1_:Spacer = new Spacer();
_loc1_.percentHeight = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function set yellowSecurityIcon(param1:Class) : void
{
var _loc2_:Object = null;
_loc2_ = this._703057299yellowSecurityIcon;
if(_loc2_ !== param1)
{
this._703057299yellowSecurityIcon = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"yellowSecurityIcon",_loc2_,param1));
}
}
[Bindable(event="propertyChange")]
public function get updateAppsRunningCanvas() : Canvas
{
return this._853798108updateAppsRunningCanvas;
}
[Bindable(event="propertyChange")]
public function get completeTextResourceName() : String
{
return this._1992811297completeTextResourceName;
}
[Bindable(event="propertyChange")]
private function get redCircleIcon() : Class
{
return this._1654957862redCircleIcon;
}
[Bindable(event="propertyChange")]
private function get airIcon() : Class
{
return this._992840477airIcon;
}
private function _RuntimeInstaller_OSButtonBarHBox2_c() : OSButtonBarHBox
{
var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
_loc1_.percentWidth = 100;
_loc1_.styleName = "buttonRow";
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedButton3_i());
_loc1_.addChild(this._RuntimeInstaller_LocalizedButton4_i());
return _loc1_;
}
public function __installedAppsList_creationComplete(param1:FlexEvent) : void
{
this.installedAppsList.accessibilityImplementation = new AppListAccessibility(this.installedAppsList);
}
private function _RuntimeInstaller_LocalizedLabel4_c() : LocalizedLabel
{
var _loc1_:LocalizedLabel = new LocalizedLabel();
_loc1_.resourceName = "lblUpdate";
_loc1_.percentWidth = 100;
_loc1_.setStyle("textAlign","right");
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
protected function initProgressAccessibility(param1:ProgressBar) : void
{
param1.accessibilityProperties = new AccessibilityProperties();
this.updateProgressAccessibility(param1);
}
private function _RuntimeInstaller_AddChild4_i() : AddChild
{
var _loc1_:AddChild = new AddChild();
this._RuntimeInstaller_AddChild4 = _loc1_;
_loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox5_i);
BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild4",this._RuntimeInstaller_AddChild4);
return _loc1_;
}
public function __additionalVersionCancel_click(param1:MouseEvent) : void
{
this.onCancel();
}
private function _RuntimeInstaller_SetProperty3_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty3 = _loc1_;
_loc1_.name = "description";
_loc1_.value = "lblEulaNote";
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty3",this._RuntimeInstaller_SetProperty3);
return _loc1_;
}
private function _RuntimeInstaller_State9_c() : State
{
var _loc1_:State = new State();
_loc1_.name = "Progress";
_loc1_.overrides = [this._RuntimeInstaller_SetProperty11_i(),this._RuntimeInstaller_AddChild7_i()];
return _loc1_;
}
private function _RuntimeInstaller_VBox9_i() : VBox
{
var _loc1_:VBox = new VBox();
this._RuntimeInstaller_VBox9 = _loc1_;
_loc1_.styleName = "contentBox";
_loc1_.percentWidth = 100;
_loc1_.percentHeight = 100;
_loc1_.id = "_RuntimeInstaller_VBox9";
BindingManager.executeBindings(this,"_RuntimeInstaller_VBox9",this._RuntimeInstaller_VBox9);
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedLabel9_i());
_loc1_.addChild(this._RuntimeInstaller_LocalizedText8_i());
_loc1_.addChild(this._RuntimeInstaller_Spacer11_c());
_loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox7_c());
return _loc1_;
}
private function _RuntimeInstaller_Spacer13_i() : Spacer
{
var _loc1_:Spacer = new Spacer();
this.updateSpacer = _loc1_;
_loc1_.height = 10;
_loc1_.id = "updateSpacer";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
public function set progressResourceName(param1:String) : void
{
var _loc2_:Object = null;
_loc2_ = this._287913606progressResourceName;
if(_loc2_ !== param1)
{
this._287913606progressResourceName = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"progressResourceName",_loc2_,param1));
}
}
private function set downArrow(param1:Class) : void
{
var _loc2_:Object = null;
_loc2_ = this._1273099399downArrow;
if(_loc2_ !== param1)
{
this._1273099399downArrow = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"downArrow",_loc2_,param1));
}
}
public function set additionalVersionCancel(param1:LocalizedButton) : void
{
var _loc2_:Object = null;
_loc2_ = this._458480501additionalVersionCancel;
if(_loc2_ !== param1)
{
this._458480501additionalVersionCancel = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"additionalVersionCancel",_loc2_,param1));
}
}
[Bindable(event="propertyChange")]
private function get installedApps() : Array
{
return this._1172428532installedApps;
}
public function set contentBox(param1:VBox) : void
{
var _loc2_:Object = null;
_loc2_ = this._264524434contentBox;
if(_loc2_ !== param1)
{
this._264524434contentBox = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"contentBox",_loc2_,param1));
}
}
private function _RuntimeInstaller_OSButtonBarHBox1_c() : OSButtonBarHBox
{
var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
_loc1_.percentWidth = 100;
_loc1_.styleName = "buttonRow";
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedButton1_i());
_loc1_.addChild(this._RuntimeInstaller_LocalizedButton2_i());
return _loc1_;
}
public function set completeLabelResourceName(param1:String) : void
{
var _loc2_:Object = null;
_loc2_ = this._965310316completeLabelResourceName;
if(_loc2_ !== param1)
{
this._965310316completeLabelResourceName = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"completeLabelResourceName",_loc2_,param1));
}
}
public function set iconBox(param1:VBox) : void
{
var _loc2_:Object = null;
_loc2_ = this._1638746770iconBox;
if(_loc2_ !== param1)
{
this._1638746770iconBox = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"iconBox",_loc2_,param1));
}
}
private function _RuntimeInstaller_LocalizedLabel3_c() : LocalizedLabel
{
var _loc1_:LocalizedLabel = new LocalizedLabel();
_loc1_.resourceName = "lblInstalled";
_loc1_.percentWidth = 100;
_loc1_.setStyle("textAlign","right");
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_AddChild3_i() : AddChild
{
var _loc1_:AddChild = new AddChild();
this._RuntimeInstaller_AddChild3 = _loc1_;
_loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox4_i);
BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild3",this._RuntimeInstaller_AddChild3);
return _loc1_;
}
private function _RuntimeInstaller_SetProperty2_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty2 = _loc1_;
_loc1_.name = "header";
_loc1_.value = "titleLicenseAgreement";
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty2",this._RuntimeInstaller_SetProperty2);
return _loc1_;
}
private function onCancel() : void
{
this.sharedEvents.dispatchEvent(new Event("installui.cancel"));
if(currentState == "Progress")
{
currentState = "ProgressCancel";
}
}
private function _RuntimeInstaller_State8_c() : State
{
var _loc1_:State = new State();
_loc1_.name = "UninstallNoApps";
_loc1_.basedOn = "Uninstall";
_loc1_.overrides = [this._RuntimeInstaller_SetProperty10_i(),this._RuntimeInstaller_RemoveChild1_i()];
_loc1_.addEventListener("enterState",this.___RuntimeInstaller_State8_enterState);
return _loc1_;
}
private function _RuntimeInstaller_VBox8_i() : VBox
{
var _loc1_:VBox = new VBox();
this.progressContent = _loc1_;
_loc1_.styleName = "contentBox";
_loc1_.percentWidth = 100;
_loc1_.percentHeight = 100;
_loc1_.addEventListener("creationComplete",this.__progressContent_creationComplete);
_loc1_.id = "progressContent";
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_Spacer9_c());
_loc1_.addChild(this._RuntimeInstaller_LocalizedLabel8_i());
_loc1_.addChild(this._RuntimeInstaller_ProgressBar1_i());
_loc1_.addChild(this._RuntimeInstaller_Spacer10_c());
_loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox6_c());
return _loc1_;
}
public function __errorClose_click(param1:MouseEvent) : void
{
this.onFinish();
}
private function _RuntimeInstaller_Spacer12_c() : Spacer
{
var _loc1_:Spacer = new Spacer();
_loc1_.height = 6;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
public function ___RuntimeInstaller_State1_enterState(param1:FlexEvent) : void
{
focusManager.setFocus(this.eula.agree);
}
public function set progressBar(param1:ProgressBar) : void
{
var _loc2_:Object = null;
_loc2_ = this._1131509414progressBar;
if(_loc2_ !== param1)
{
this._1131509414progressBar = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"progressBar",_loc2_,param1));
}
}
public function ___RuntimeInstaller_VBox4_creationComplete(param1:FlexEvent) : void
{
activate();
}
private function _RuntimeInstaller_bindingsSetup() : Array
{
var binding:Binding = null;
var result:Array = [];
binding = new Binding(this,function():Object
{
return airIcon;
},function(param1:Object):void
{
iconImage.source = param1;
},"iconImage.source");
result[0] = binding;
binding = new Binding(this,function():Object
{
return this;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty1.target = param1;
},"_RuntimeInstaller_SetProperty1.target");
result[1] = binding;
binding = new Binding(this,function():UIComponent
{
return contentBox;
},function(param1:UIComponent):void
{
_RuntimeInstaller_AddChild1.relativeTo = param1;
},"_RuntimeInstaller_AddChild1.relativeTo");
result[2] = binding;
binding = new Binding(this,function():Boolean
{
return record.isNAI;
},function(param1:Boolean):void
{
eula.native = param1;
},"eula.native");
result[3] = binding;
binding = new Binding(this,function():Object
{
return eula;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty2.target = param1;
},"_RuntimeInstaller_SetProperty2.target");
result[4] = binding;
binding = new Binding(this,function():Object
{
return eula;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty3.target = param1;
},"_RuntimeInstaller_SetProperty3.target");
result[5] = binding;
binding = new Binding(this,function():Object
{
return eula;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty4.target = param1;
},"_RuntimeInstaller_SetProperty4.target");
result[6] = binding;
binding = new Binding(this,function():Object
{
return this;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty5.target = param1;
},"_RuntimeInstaller_SetProperty5.target");
result[7] = binding;
binding = new Binding(this,function():UIComponent
{
return contentBox;
},function(param1:UIComponent):void
{
_RuntimeInstaller_AddChild2.relativeTo = param1;
},"_RuntimeInstaller_AddChild2.relativeTo");
result[8] = binding;
binding = new Binding(this,function():IFlexDisplayObject
{
return additionalVersionAdd;
},function(param1:IFlexDisplayObject):void
{
_RuntimeInstaller_VBox3.defaultButton = param1;
},"_RuntimeInstaller_VBox3.defaultButton");
result[9] = binding;
binding = new Binding(this,function():Array
{
return [record.versionShort];
},function(param1:Array):void
{
_RuntimeInstaller_LocalizedText2.resourceParams = param1;
},"_RuntimeInstaller_LocalizedText2.resourceParams");
result[10] = binding;
binding = new Binding(this,function():Object
{
return this;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty6.target = param1;
},"_RuntimeInstaller_SetProperty6.target");
result[11] = binding;
binding = new Binding(this,function():UIComponent
{
return contentBox;
},function(param1:UIComponent):void
{
_RuntimeInstaller_AddChild3.relativeTo = param1;
},"_RuntimeInstaller_AddChild3.relativeTo");
result[12] = binding;
binding = new Binding(this,function():IFlexDisplayObject
{
return patchNewerUpdate;
},function(param1:IFlexDisplayObject):void
{
_RuntimeInstaller_VBox4.defaultButton = param1;
},"_RuntimeInstaller_VBox4.defaultButton");
result[13] = binding;
binding = new Binding(this,function():String
{
var _loc1_:* = record.currentPatchLevel;
return _loc1_ == undefined ? null : String(_loc1_);
},function(param1:String):void
{
_RuntimeInstaller_Label1.text = param1;
},"_RuntimeInstaller_Label1.text");
result[14] = binding;
binding = new Binding(this,function():String
{
var _loc1_:* = record.newPatchLevel;
return _loc1_ == undefined ? null : String(_loc1_);
},function(param1:String):void
{
_RuntimeInstaller_Label2.text = param1;
},"_RuntimeInstaller_Label2.text");
result[15] = binding;
binding = new Binding(this,function():Object
{
return this;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty7.target = param1;
},"_RuntimeInstaller_SetProperty7.target");
result[16] = binding;
binding = new Binding(this,function():UIComponent
{
return contentBox;
},function(param1:UIComponent):void
{
_RuntimeInstaller_AddChild4.relativeTo = param1;
},"_RuntimeInstaller_AddChild4.relativeTo");
result[17] = binding;
binding = new Binding(this,function():IFlexDisplayObject
{
return patchSameClose;
},function(param1:IFlexDisplayObject):void
{
_RuntimeInstaller_VBox5.defaultButton = param1;
},"_RuntimeInstaller_VBox5.defaultButton");
result[18] = binding;
binding = new Binding(this,function():Object
{
return this;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty8.target = param1;
},"_RuntimeInstaller_SetProperty8.target");
result[19] = binding;
binding = new Binding(this,function():UIComponent
{
return contentBox;
},function(param1:UIComponent):void
{
_RuntimeInstaller_AddChild5.relativeTo = param1;
},"_RuntimeInstaller_AddChild5.relativeTo");
result[20] = binding;
binding = new Binding(this,function():IFlexDisplayObject
{
return patchOlderClose;
},function(param1:IFlexDisplayObject):void
{
_RuntimeInstaller_VBox6.defaultButton = param1;
},"_RuntimeInstaller_VBox6.defaultButton");
result[21] = binding;
binding = new Binding(this,function():Object
{
return this;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty9.target = param1;
},"_RuntimeInstaller_SetProperty9.target");
result[22] = binding;
binding = new Binding(this,function():UIComponent
{
return contentBox;
},function(param1:UIComponent):void
{
_RuntimeInstaller_AddChild6.relativeTo = param1;
},"_RuntimeInstaller_AddChild6.relativeTo");
result[23] = binding;
binding = new Binding(this,function():IFlexDisplayObject
{
return uninstallCancel;
},function(param1:IFlexDisplayObject):void
{
_RuntimeInstaller_VBox7.defaultButton = param1;
},"_RuntimeInstaller_VBox7.defaultButton");
result[24] = binding;
binding = new Binding(this,function():Object
{
return installedApps;
},function(param1:Object):void
{
installedAppsList.dataProvider = param1;
},"installedAppsList.dataProvider");
result[25] = binding;
binding = new Binding(this,function():Object
{
return this;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty10.target = param1;
},"_RuntimeInstaller_SetProperty10.target");
result[26] = binding;
binding = new Binding(this,function():DisplayObject
{
return uninstallAppCanvas;
},function(param1:DisplayObject):void
{
_RuntimeInstaller_RemoveChild1.target = param1;
},"_RuntimeInstaller_RemoveChild1.target");
result[27] = binding;
binding = new Binding(this,function():Object
{
return this;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty11.target = param1;
},"_RuntimeInstaller_SetProperty11.target");
result[28] = binding;
binding = new Binding(this,function():UIComponent
{
return contentBox;
},function(param1:UIComponent):void
{
_RuntimeInstaller_AddChild7.relativeTo = param1;
},"_RuntimeInstaller_AddChild7.relativeTo");
result[29] = binding;
binding = new Binding(this,function():String
{
var _loc1_:* = progressResourceName;
return _loc1_ == undefined ? null : String(_loc1_);
},function(param1:String):void
{
progressLabel.resourceName = param1;
},"progressLabel.resourceName");
result[30] = binding;
binding = new Binding(this,function():Object
{
return this;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty12.target = param1;
},"_RuntimeInstaller_SetProperty12.target");
result[31] = binding;
binding = new Binding(this,function():DisplayObject
{
return progressContent;
},function(param1:DisplayObject):void
{
_RuntimeInstaller_AddChild8.target = param1;
},"_RuntimeInstaller_AddChild8.target");
result[32] = binding;
binding = new Binding(this,function():UIComponent
{
return contentBox;
},function(param1:UIComponent):void
{
_RuntimeInstaller_AddChild8.relativeTo = param1;
},"_RuntimeInstaller_AddChild8.relativeTo");
result[33] = binding;
binding = new Binding(this,function():Object
{
return this;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty13.target = param1;
},"_RuntimeInstaller_SetProperty13.target");
result[34] = binding;
binding = new Binding(this,function():Object
{
return progressCancel;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty14.target = param1;
},"_RuntimeInstaller_SetProperty14.target");
result[35] = binding;
binding = new Binding(this,function():Object
{
return this;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty15.target = param1;
},"_RuntimeInstaller_SetProperty15.target");
result[36] = binding;
binding = new Binding(this,function():UIComponent
{
return contentBox;
},function(param1:UIComponent):void
{
_RuntimeInstaller_AddChild9.relativeTo = param1;
},"_RuntimeInstaller_AddChild9.relativeTo");
result[37] = binding;
binding = new Binding(this,function():IFlexDisplayObject
{
return completeFinish;
},function(param1:IFlexDisplayObject):void
{
_RuntimeInstaller_VBox9.defaultButton = param1;
},"_RuntimeInstaller_VBox9.defaultButton");
result[38] = binding;
binding = new Binding(this,function():String
{
var _loc1_:* = completeLabelResourceName;
return _loc1_ == undefined ? null : String(_loc1_);
},function(param1:String):void
{
_RuntimeInstaller_LocalizedLabel9.resourceName = param1;
},"_RuntimeInstaller_LocalizedLabel9.resourceName");
result[39] = binding;
binding = new Binding(this,function():String
{
var _loc1_:* = completeTextResourceName;
return _loc1_ == undefined ? null : String(_loc1_);
},function(param1:String):void
{
_RuntimeInstaller_LocalizedText8.resourceName = param1;
},"_RuntimeInstaller_LocalizedText8.resourceName");
result[40] = binding;
binding = new Binding(this,function():Object
{
return this;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty16.target = param1;
},"_RuntimeInstaller_SetProperty16.target");
result[41] = binding;
binding = new Binding(this,function():UIComponent
{
return contentBox;
},function(param1:UIComponent):void
{
_RuntimeInstaller_AddChild10.relativeTo = param1;
},"_RuntimeInstaller_AddChild10.relativeTo");
result[42] = binding;
binding = new Binding(this,function():IFlexDisplayObject
{
return patchLater;
},function(param1:IFlexDisplayObject):void
{
_RuntimeInstaller_VBox10.defaultButton = param1;
},"_RuntimeInstaller_VBox10.defaultButton");
result[43] = binding;
binding = new Binding(this,function():Object
{
return this;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty17.target = param1;
},"_RuntimeInstaller_SetProperty17.target");
result[44] = binding;
binding = new Binding(this,function():DisplayObject
{
return updateAppsRunningCanvas;
},function(param1:DisplayObject):void
{
_RuntimeInstaller_RemoveChild2.target = param1;
},"_RuntimeInstaller_RemoveChild2.target");
result[45] = binding;
binding = new Binding(this,function():DisplayObject
{
return updateSpacer;
},function(param1:DisplayObject):void
{
_RuntimeInstaller_RemoveChild3.target = param1;
},"_RuntimeInstaller_RemoveChild3.target");
result[46] = binding;
binding = new Binding(this,function():Object
{
return updateText;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty18.target = param1;
},"_RuntimeInstaller_SetProperty18.target");
result[47] = binding;
binding = new Binding(this,function():Object
{
return patchNow;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty19.target = param1;
},"_RuntimeInstaller_SetProperty19.target");
result[48] = binding;
binding = new Binding(this,function():IStyleClient
{
return patchNow;
},function(param1:IStyleClient):void
{
_RuntimeInstaller_SetStyle1.target = param1;
},"_RuntimeInstaller_SetStyle1.target");
result[49] = binding;
binding = new Binding(this,function():IStyleClient
{
return patchLater;
},function(param1:IStyleClient):void
{
_RuntimeInstaller_SetStyle2.target = param1;
},"_RuntimeInstaller_SetStyle2.target");
result[50] = binding;
binding = new Binding(this,function():Object
{
return this;
},function(param1:Object):void
{
_RuntimeInstaller_SetProperty20.target = param1;
},"_RuntimeInstaller_SetProperty20.target");
result[51] = binding;
binding = new Binding(this,function():UIComponent
{
return contentBox;
},function(param1:UIComponent):void
{
_RuntimeInstaller_AddChild11.relativeTo = param1;
},"_RuntimeInstaller_AddChild11.relativeTo");
result[52] = binding;
binding = new Binding(this,function():IFlexDisplayObject
{
return errorClose;
},function(param1:IFlexDisplayObject):void
{
_RuntimeInstaller_VBox11.defaultButton = param1;
},"_RuntimeInstaller_VBox11.defaultButton");
result[53] = binding;
return result;
}
public function ___RuntimeInstaller_State4_enterState(param1:FlexEvent) : void
{
focusManager.setFocus(this.patchNewerUpdate);
}
private function _RuntimeInstaller_AddChild2_i() : AddChild
{
var _loc1_:AddChild = new AddChild();
this._RuntimeInstaller_AddChild2 = _loc1_;
_loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox3_i);
BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild2",this._RuntimeInstaller_AddChild2);
return _loc1_;
}
private function _RuntimeInstaller_State7_c() : State
{
var _loc1_:State = new State();
_loc1_.name = "Uninstall";
_loc1_.overrides = [this._RuntimeInstaller_SetProperty9_i(),this._RuntimeInstaller_AddChild6_i()];
_loc1_.addEventListener("enterState",this.___RuntimeInstaller_State7_enterState);
return _loc1_;
}
private function _RuntimeInstaller_LocalizedLabel2_c() : LocalizedLabel
{
var _loc1_:LocalizedLabel = new LocalizedLabel();
_loc1_.styleName = "h2";
_loc1_.resourceName = "titleUpdateAIR";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get patchNow() : LocalizedButton
{
return this._1230359918patchNow;
}
private function _RuntimeInstaller_Label2_i() : Label
{
var _loc1_:Label = new Label();
this._RuntimeInstaller_Label2 = _loc1_;
_loc1_.styleName = "formItemText";
_loc1_.id = "_RuntimeInstaller_Label2";
BindingManager.executeBindings(this,"_RuntimeInstaller_Label2",this._RuntimeInstaller_Label2);
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_Spacer11_c() : Spacer
{
var _loc1_:Spacer = new Spacer();
_loc1_.percentHeight = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
public function ___RuntimeInstaller_State7_enterState(param1:FlexEvent) : void
{
focusManager.setFocus(this.uninstallCancel);
}
private function _RuntimeInstaller_SetProperty1_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty1 = _loc1_;
_loc1_.name = "stageHeight";
_loc1_.value = 392;
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty1",this._RuntimeInstaller_SetProperty1);
return _loc1_;
}
public function ___RuntimeInstaller_VBox6_creationComplete(param1:FlexEvent) : void
{
activate();
}
private function _RuntimeInstaller_LocalizedButton9_i() : LocalizedButton
{
var _loc1_:LocalizedButton = new LocalizedButton();
this.progressCancel = _loc1_;
_loc1_.resourceName = "btnCancel";
_loc1_.addEventListener("click",this.__progressCancel_click);
_loc1_.id = "progressCancel";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
public function set progressLabel(param1:LocalizedLabel) : void
{
var _loc2_:Object = null;
_loc2_ = this._763044039progressLabel;
if(_loc2_ !== param1)
{
this._763044039progressLabel = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"progressLabel",_loc2_,param1));
}
}
public function __progressBar_creationComplete(param1:FlexEvent) : void
{
this.initProgressAccessibility(this.progressBar);
}
public function ___RuntimeInstaller_LocalizedButton7_click(param1:MouseEvent) : void
{
this.onConfirm();
}
private function _RuntimeInstaller_SetProperty19_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty19 = _loc1_;
_loc1_.name = "enabled";
_loc1_.value = true;
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty19",this._RuntimeInstaller_SetProperty19);
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get progressContent() : VBox
{
return this._139350644progressContent;
}
[Bindable(event="propertyChange")]
public function get updateText() : LocalizedText
{
return this._295934570updateText;
}
private function _RuntimeInstaller_VBox7_i() : VBox
{
var _loc1_:VBox = new VBox();
this._RuntimeInstaller_VBox7 = _loc1_;
_loc1_.styleName = "contentBox";
_loc1_.percentWidth = 100;
_loc1_.percentHeight = 100;
_loc1_.addEventListener("creationComplete",this.___RuntimeInstaller_VBox7_creationComplete);
_loc1_.id = "_RuntimeInstaller_VBox7";
BindingManager.executeBindings(this,"_RuntimeInstaller_VBox7",this._RuntimeInstaller_VBox7);
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedLabel7_c());
_loc1_.addChild(this._RuntimeInstaller_LocalizedText6_c());
_loc1_.addChild(this._RuntimeInstaller_Spacer6_c());
_loc1_.addChild(this._RuntimeInstaller_Canvas1_i());
_loc1_.addChild(this._RuntimeInstaller_Spacer7_c());
_loc1_.addChild(this._RuntimeInstaller_LocalizedText7_c());
_loc1_.addChild(this._RuntimeInstaller_Spacer8_c());
_loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox5_c());
return _loc1_;
}
private function set greenCircleIcon(param1:Class) : void
{
var _loc2_:Object = null;
_loc2_ = this._229542092greenCircleIcon;
if(_loc2_ !== param1)
{
this._229542092greenCircleIcon = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"greenCircleIcon",_loc2_,param1));
}
}
public function set errorClose(param1:LocalizedButton) : void
{
var _loc2_:Object = null;
_loc2_ = this._1610096848errorClose;
if(_loc2_ !== param1)
{
this._1610096848errorClose = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"errorClose",_loc2_,param1));
}
}
public function __uninstallCancel_click(param1:MouseEvent) : void
{
this.onCancel();
}
private function _RuntimeInstaller_LocalizedLabel1_c() : LocalizedLabel
{
var _loc1_:LocalizedLabel = new LocalizedLabel();
_loc1_.styleName = "h2";
_loc1_.resourceName = "titleWelcome";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_GridItem4_c() : GridItem
{
var _loc1_:GridItem = new GridItem();
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_Label2_i());
return _loc1_;
}
public function ___RuntimeInstaller_State12_enterState(param1:FlexEvent) : void
{
focusManager.setFocus(this.patchLater);
}
private function _RuntimeInstaller_AddChild1_i() : AddChild
{
var _loc1_:AddChild = new AddChild();
this._RuntimeInstaller_AddChild1 = _loc1_;
_loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_EULA1_i);
BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild1",this._RuntimeInstaller_AddChild1);
return _loc1_;
}
private function _RuntimeInstaller_State6_c() : State
{
var _loc1_:State = new State();
_loc1_.name = "PatchOlder";
_loc1_.overrides = [this._RuntimeInstaller_SetProperty8_i(),this._RuntimeInstaller_AddChild5_i()];
_loc1_.addEventListener("enterState",this.___RuntimeInstaller_State6_enterState);
return _loc1_;
}
private function _RuntimeInstaller_VBox6_i() : VBox
{
var _loc1_:VBox = new VBox();
this._RuntimeInstaller_VBox6 = _loc1_;
_loc1_.styleName = "contentBox";
_loc1_.percentWidth = 100;
_loc1_.percentHeight = 100;
_loc1_.addEventListener("creationComplete",this.___RuntimeInstaller_VBox6_creationComplete);
_loc1_.id = "_RuntimeInstaller_VBox6";
BindingManager.executeBindings(this,"_RuntimeInstaller_VBox6",this._RuntimeInstaller_VBox6);
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedLabel6_c());
_loc1_.addChild(this._RuntimeInstaller_LocalizedText5_c());
_loc1_.addChild(this._RuntimeInstaller_Spacer5_c());
_loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox4_c());
return _loc1_;
}
private function _RuntimeInstaller_Spacer10_c() : Spacer
{
var _loc1_:Spacer = new Spacer();
_loc1_.percentHeight = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function set redCircleIcon(param1:Class) : void
{
var _loc2_:Object = null;
_loc2_ = this._1654957862redCircleIcon;
if(_loc2_ !== param1)
{
this._1654957862redCircleIcon = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redCircleIcon",_loc2_,param1));
}
}
[Bindable(event="propertyChange")]
private function get rightArrowNative() : Class
{
return this._1501004228rightArrowNative;
}
private function _RuntimeInstaller_LocalizedButton8_i() : LocalizedButton
{
var _loc1_:LocalizedButton = new LocalizedButton();
this.uninstallCancel = _loc1_;
_loc1_.resourceName = "btnCancel";
_loc1_.styleName = "defaultButton";
_loc1_.addEventListener("click",this.__uninstallCancel_click);
_loc1_.id = "uninstallCancel";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_Label1_i() : Label
{
var _loc1_:Label = new Label();
this._RuntimeInstaller_Label1 = _loc1_;
_loc1_.styleName = "formItemText";
_loc1_.id = "_RuntimeInstaller_Label1";
BindingManager.executeBindings(this,"_RuntimeInstaller_Label1",this._RuntimeInstaller_Label1);
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get patchSameClose() : LocalizedButton
{
return this._607735242patchSameClose;
}
private function set airIcon(param1:Class) : void
{
var _loc2_:Object = null;
_loc2_ = this._992840477airIcon;
if(_loc2_ !== param1)
{
this._992840477airIcon = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"airIcon",_loc2_,param1));
}
}
[Bindable(event="propertyChange")]
public function get patchNewerCancel() : LocalizedButton
{
return this._503203263patchNewerCancel;
}
public function set updateAppsRunningCanvas(param1:Canvas) : void
{
var _loc2_:Object = null;
_loc2_ = this._853798108updateAppsRunningCanvas;
if(_loc2_ !== param1)
{
this._853798108updateAppsRunningCanvas = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateAppsRunningCanvas",_loc2_,param1));
}
}
private function onClosing(param1:Event) : void
{
param1.preventDefault();
switch(currentState)
{
case "EULA":
case "FirstLaunchEULA":
case "AdditionalVersion":
case "PatchNewer":
case "Uninstall":
case "UninstallNoApps":
case "Progress":
this.asyncCall(this.onCancel);
break;
case "PatchSame":
case "PatchOlder":
case "Complete":
case "Error":
this.asyncCall(this.onFinish);
break;
case "InstallUpdatesNoApps":
case "InstallUpdates":
this.asyncCall(this.onPatchLater);
}
}
private function _RuntimeInstaller_SetProperty18_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty18 = _loc1_;
_loc1_.name = "resourceName";
_loc1_.value = "shortUpdateText";
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty18",this._RuntimeInstaller_SetProperty18);
return _loc1_;
}
public function set completeTextResourceName(param1:String) : void
{
var _loc2_:Object = null;
_loc2_ = this._1992811297completeTextResourceName;
if(_loc2_ !== param1)
{
this._1992811297completeTextResourceName = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"completeTextResourceName",_loc2_,param1));
}
}
private function set appIconNativeBG(param1:Class) : void
{
var _loc2_:Object = null;
_loc2_ = this._463497974appIconNativeBG;
if(_loc2_ !== param1)
{
this._463497974appIconNativeBG = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"appIconNativeBG",_loc2_,param1));
}
}
private function _RuntimeInstaller_GridItem3_c() : GridItem
{
var _loc1_:GridItem = new GridItem();
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedLabel4_c());
return _loc1_;
}
private function onEULAStyleLoaded(param1:Event = null) : void
{
updateStylesForLocale();
currentState = "FirstLaunchEULA";
stage.nativeWindow.title = locManager.getString("titleNativeWindow");
}
public function __eula_cancel(param1:Event) : void
{
this.onCancel();
}
public function __patchNewerUpdate_click(param1:MouseEvent) : void
{
this.onConfirm();
}
private function _RuntimeInstaller_State5_c() : State
{
var _loc1_:State = new State();
_loc1_.name = "PatchSame";
_loc1_.overrides = [this._RuntimeInstaller_SetProperty7_i(),this._RuntimeInstaller_AddChild4_i()];
_loc1_.addEventListener("enterState",this.___RuntimeInstaller_State5_enterState);
return _loc1_;
}
private function _RuntimeInstaller_VBox5_i() : VBox
{
var _loc1_:VBox = new VBox();
this._RuntimeInstaller_VBox5 = _loc1_;
_loc1_.styleName = "contentBox";
_loc1_.percentWidth = 100;
_loc1_.percentHeight = 100;
_loc1_.addEventListener("creationComplete",this.___RuntimeInstaller_VBox5_creationComplete);
_loc1_.id = "_RuntimeInstaller_VBox5";
BindingManager.executeBindings(this,"_RuntimeInstaller_VBox5",this._RuntimeInstaller_VBox5);
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedLabel5_c());
_loc1_.addChild(this._RuntimeInstaller_LocalizedText4_c());
_loc1_.addChild(this._RuntimeInstaller_Spacer4_c());
_loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox3_c());
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get uninstallCancel() : LocalizedButton
{
return this._1634233860uninstallCancel;
}
private function _RuntimeInstaller_LocalizedButton7_c() : LocalizedButton
{
var _loc1_:LocalizedButton = new LocalizedButton();
_loc1_.resourceName = "btnUninstall";
_loc1_.addEventListener("click",this.___RuntimeInstaller_LocalizedButton7_click);
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
public function ___RuntimeInstaller_InstallerApplication1_preinitialize(param1:FlexEvent) : void
{
this.onPreInitialize();
}
private function _RuntimeInstaller_State14_c() : State
{
var _loc1_:State = new State();
_loc1_.name = "Error";
_loc1_.overrides = [this._RuntimeInstaller_SetProperty20_i(),this._RuntimeInstaller_AddChild11_i()];
_loc1_.addEventListener("enterState",this.___RuntimeInstaller_State14_enterState);
return _loc1_;
}
private function set installedApps(param1:Array) : void
{
var _loc2_:Object = null;
_loc2_ = this._1172428532installedApps;
if(_loc2_ !== param1)
{
this._1172428532installedApps = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"installedApps",_loc2_,param1));
}
}
public function set progressCancel(param1:LocalizedButton) : void
{
var _loc2_:Object = null;
_loc2_ = this._1922221831progressCancel;
if(_loc2_ !== param1)
{
this._1922221831progressCancel = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"progressCancel",_loc2_,param1));
}
}
private function _RuntimeInstaller_SetProperty17_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty17 = _loc1_;
_loc1_.name = "stageHeight";
_loc1_.value = 200;
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty17",this._RuntimeInstaller_SetProperty17);
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get eula() : EULA
{
return this._3124773eula;
}
private function _RuntimeInstaller_GridItem2_c() : GridItem
{
var _loc1_:GridItem = new GridItem();
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_Label1_i());
return _loc1_;
}
public function __progressCancel_click(param1:MouseEvent) : void
{
this.onCancel();
}
[Bindable(event="propertyChange")]
private function get airPackageIcon() : Class
{
return this._1869917749airPackageIcon;
}
private function set redSecurityIcon(param1:Class) : void
{
var _loc2_:Object = null;
_loc2_ = this._2057878774redSecurityIcon;
if(_loc2_ !== param1)
{
this._2057878774redSecurityIcon = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redSecurityIcon",_loc2_,param1));
}
}
private function _RuntimeInstaller_State4_c() : State
{
var _loc1_:State = new State();
_loc1_.name = "PatchNewer";
_loc1_.overrides = [this._RuntimeInstaller_SetProperty6_i(),this._RuntimeInstaller_AddChild3_i()];
_loc1_.addEventListener("enterState",this.___RuntimeInstaller_State4_enterState);
return _loc1_;
}
private function _RuntimeInstaller_LocalizedText10_c() : LocalizedText
{
var _loc1_:LocalizedText = new LocalizedText();
_loc1_.percentWidth = 100;
_loc1_.condenseWhite = true;
_loc1_.resourceName = "msgConfirmInstallUpdate";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_VBox4_i() : VBox
{
var _loc1_:VBox = new VBox();
this._RuntimeInstaller_VBox4 = _loc1_;
_loc1_.styleName = "contentBox";
_loc1_.percentWidth = 100;
_loc1_.percentHeight = 100;
_loc1_.addEventListener("creationComplete",this.___RuntimeInstaller_VBox4_creationComplete);
_loc1_.id = "_RuntimeInstaller_VBox4";
BindingManager.executeBindings(this,"_RuntimeInstaller_VBox4",this._RuntimeInstaller_VBox4);
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedLabel2_c());
_loc1_.addChild(this._RuntimeInstaller_LocalizedText3_c());
_loc1_.addChild(this._RuntimeInstaller_Spacer2_c());
_loc1_.addChild(this._RuntimeInstaller_Grid1_c());
_loc1_.addChild(this._RuntimeInstaller_Spacer3_c());
_loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox2_c());
return _loc1_;
}
private function _RuntimeInstaller_LocalizedButton6_i() : LocalizedButton
{
var _loc1_:LocalizedButton = new LocalizedButton();
this.patchOlderClose = _loc1_;
_loc1_.styleName = "defaultButton";
_loc1_.resourceName = "btnClose";
_loc1_.addEventListener("click",this.__patchOlderClose_click);
_loc1_.id = "patchOlderClose";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_State13_c() : State
{
var _loc1_:State = new State();
_loc1_.name = "InstallUpdatesNoApps";
_loc1_.basedOn = "InstallUpdates";
_loc1_.overrides = [this._RuntimeInstaller_SetProperty17_i(),this._RuntimeInstaller_RemoveChild2_i(),this._RuntimeInstaller_RemoveChild3_i(),this._RuntimeInstaller_SetProperty18_i(),this._RuntimeInstaller_SetProperty19_i(),this._RuntimeInstaller_SetStyle1_i(),this._RuntimeInstaller_SetStyle2_i()];
_loc1_.addEventListener("enterState",this.___RuntimeInstaller_State13_enterState);
return _loc1_;
}
public function set patchLater(param1:LocalizedButton) : void
{
var _loc2_:Object = null;
_loc2_ = this._1257611044patchLater;
if(_loc2_ !== param1)
{
this._1257611044patchLater = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"patchLater",_loc2_,param1));
}
}
private function _RuntimeInstaller_LocalizedButton13_i() : LocalizedButton
{
var _loc1_:LocalizedButton = new LocalizedButton();
this.errorClose = _loc1_;
_loc1_.styleName = "defaultButton";
_loc1_.resourceName = "btnClose";
_loc1_.addEventListener("click",this.__errorClose_click);
_loc1_.id = "errorClose";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function onApplicationComplete() : void
{
var h1Style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".h1");
if(h1Style)
{
h1Style.setStyle("fontWeight",Capabilities.os.indexOf("Mac") >= 0 ? "normal" : "bold");
}
this.record = new ObjectProxy(getDefinitionByName("Object"));
this.record.uiLanguages = ["en_US","de","es","fr","it","ja","ko","pt","ru","zh_Hans","zh_Hant","cs","nl","pl","sv","tr"];
stage.nativeWindow.addEventListener(Event.CLOSING,this.onClosing);
stage.addEventListener(KeyboardEvent.KEY_DOWN,this.onKeyDown,true);
this.sharedEvents = Application.application.root.loaderInfo.sharedEvents;
this.sharedEvents.addEventListener("init",function(param1:Event):void
{
var _loc2_:IEventDispatcher = null;
record = new ObjectProxy(getDefinitionByName("Object"));
Application.application.executeBindings(true);
switch(record.type)
{
case "new":
case "additionalNewest":
case "replaceSame":
currentState = "EULA";
break;
case "additionalOlder":
currentState = "AdditionalVersion";
break;
case "patchNewer":
case "patchNewerNewest":
currentState = "PatchNewer";
break;
case "patchOlder":
currentState = "PatchOlder";
break;
case "patchSame":
currentState = "PatchSame";
break;
case "uninstall":
installedApps = record.installedApps;
progressResourceName = "progressUninstalling";
completeLabelResourceName = "titleUninstCompleted";
completeTextResourceName = "msgUninstallSuccessful";
if(installedApps != null && installedApps.length > 0)
{
currentState = "Uninstall";
}
else
{
currentState = "UninstallNoApps";
}
break;
case "installUpdates":
currentState = "InstallUpdatesNoApps";
stage.nativeWindow.title = locManager.getString("titleAirUpdater");
break;
case "eula":
if(record.isNAI)
{
_loc2_ = StyleManager.loadStyleDeclarations("stylesNative.swf");
_loc2_.addEventListener(StyleEvent.ERROR,onEULAStyleError);
_loc2_.addEventListener(StyleEvent.COMPLETE,onEULAStyleLoaded);
}
else
{
onEULAStyleLoaded();
}
break;
default:
currentState = "Error";
errorText.text = locManager.getString("msgInternalLogicError");
}
});
this.iconImage.visible = true;
this.sharedEvents.addEventListener(Event.COMPLETE,function(param1:Event):void
{
switch(record.type)
{
case "uninstall":
asyncCall(onFinish);
break;
default:
currentState = "Complete";
}
});
this.sharedEvents.addEventListener(Event.CANCEL,function(param1:Event):void
{
currentState = "Error";
errorText.text = locManager.getString("msgInstallCanceled");
});
this.sharedEvents.addEventListener(ProgressEvent.PROGRESS,function(param1:ProgressEvent):void
{
progressBar.setProgress(param1.bytesLoaded,param1.bytesTotal);
updateProgressAccessibility(progressBar);
});
this.sharedEvents.addEventListener(ErrorEvent.ERROR,this.onError);
this.sharedEvents.addEventListener(IOErrorEvent.IO_ERROR,this.onError);
this.sharedEvents.addEventListener("dataChange",this.onDataChange);
this.sharedEvents.addEventListener("languagesSorted",function(param1:Event):void
{
record.uiLanguages.push("en_US");
ResourceManager.getInstance().localeChain = record.uiLanguages;
updateStylesForLocale();
stage.nativeWindow.title = locManager.getString("titleAirSetup");
stage.nativeWindow.width = int(locManager.getString("rtInstMainWndWidth"));
progressResourceName = "progressInstalling";
completeLabelResourceName = "titleInstCompleted";
completeTextResourceName = "msgInstallSuccessful";
});
this.sharedEvents.dispatchEvent(new Event("installui.init"));
}
private function _RuntimeInstaller_VBox11_i() : VBox
{
var _loc1_:VBox = new VBox();
this._RuntimeInstaller_VBox11 = _loc1_;
_loc1_.styleName = "contentBox";
_loc1_.percentWidth = 100;
_loc1_.percentHeight = 100;
_loc1_.addEventListener("creationComplete",this.___RuntimeInstaller_VBox11_creationComplete);
_loc1_.id = "_RuntimeInstaller_VBox11";
BindingManager.executeBindings(this,"_RuntimeInstaller_VBox11",this._RuntimeInstaller_VBox11);
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedLabel10_c());
_loc1_.addChild(this._RuntimeInstaller_Spacer15_c());
_loc1_.addChild(this._RuntimeInstaller_TextArea2_i());
_loc1_.addChild(this._RuntimeInstaller_Spacer16_c());
_loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox9_c());
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get updateSpacer() : Spacer
{
return this._944448939updateSpacer;
}
private function _RuntimeInstaller_SetProperty16_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty16 = _loc1_;
_loc1_.name = "stageHeight";
_loc1_.value = 240;
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty16",this._RuntimeInstaller_SetProperty16);
return _loc1_;
}
public function set completeFinish(param1:LocalizedButton) : void
{
var _loc2_:Object = null;
_loc2_ = this._713956140completeFinish;
if(_loc2_ !== param1)
{
this._713956140completeFinish = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"completeFinish",_loc2_,param1));
}
}
mx_internal function _RuntimeInstaller_StylesInit() : void
{
var style:CSSStyleDeclaration = null;
var effects:Array = null;
if(mx_internal::_RuntimeInstaller_StylesInit_done)
{
return;
}
mx_internal::_RuntimeInstaller_StylesInit_done = true;
style = StyleManager.getStyleDeclaration(".topContentBox");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".topContentBox",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.verticalGap = 0;
};
}
style = StyleManager.getStyleDeclaration("List");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("List",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.paddingTop = 4;
this.borderColor = 2236962;
this.paddingLeft = 4;
this.paddingRight = 4;
this.paddingBottom = 4;
this.backgroundColor = 3750201;
};
}
style = StyleManager.getStyleDeclaration("ScrollBar");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("ScrollBar",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.downArrowOverSkin = SimpleScrollArrowSkin;
this.scrollThumbIcon = _embed_css__assets_scroll_thumb_png_1502202382;
this.arrowOverFillColor = 5460819;
this.borderStyle = "solid";
this.thumbOverFillColor = 5460819;
this.arrowFillColor = 4408131;
this.thumbUpSkin = SimpleScrollThumbSkin;
this.downArrowUpSkin = SimpleScrollArrowSkin;
this.trackColors = [2236962,2236962];
this.upArrowDisabledSkin = SimpleScrollArrowSkin;
this.highlightAlphas = [0,0];
this.thumbFillColor = 4408131;
this.upArrowUpSkin = SimpleScrollArrowSkin;
this.trackSkin = SimpleScrollTrackSkin;
this.arrowBorderColor = 4737096;
this.arrowIconColor = 2236962;
this.borderColor = 2236962;
this.thumbDownSkin = SimpleScrollThumbSkin;
this.upArrowOverSkin = SimpleScrollArrowSkin;
this.thumbOverSkin = SimpleScrollThumbSkin;
this.themeColor = 5460819;
this.downArrowDownSkin = SimpleScrollArrowSkin;
this.downArrowDisabledSkin = SimpleScrollArrowSkin;
this.thumbBorderColor = 4737096;
this.upArrowDownSkin = SimpleScrollArrowSkin;
};
}
style = StyleManager.getStyleDeclaration(".eulaText");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".eulaText",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.borderColor = 2236962;
this.paddingLeft = 6;
this.paddingRight = 6;
this.leading = 0;
this.backgroundColor = 3750201;
};
}
style = StyleManager.getStyleDeclaration("LinkButton");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("LinkButton",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.textAlign = "left";
this.fillAlphas = [0,0,0,0];
this.selectedDownSkin = ProgrammaticSkin;
this.selectedUpSkin = ProgrammaticSkin;
this.selectedOverSkin = ProgrammaticSkin;
this.upSkin = ProgrammaticSkin;
this.textIndent = 0;
this.fontSize = 10;
this.backgroundAlpha = 0;
this.downSkin = ProgrammaticSkin;
this.overSkin = ProgrammaticSkin;
};
}
style = StyleManager.getStyleDeclaration("Application");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("Application",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.paddingLeft = 15;
this.backgroundGradientColors = [2697513,2697513];
this.horizontalAlign = "left";
this.backgroundAlpha = 1;
this.fontSize = 10;
this.paddingBottom = 20;
this.themeColor = 4539717;
this.fontFamily = "Lucida Grande,Verdana,Arial,_sans";
this.paddingTop = 15;
this.textAlign = "left";
this.color = 16777215;
this.paddingRight = 15;
this.horizontalGap = 10;
this.backgroundColor = 2697513;
};
}
style = StyleManager.getStyleDeclaration("ProgressBar");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("ProgressBar",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.trackSkin = _embed_css_assets_progress_bar_progress_bar_assets_swf_ProgressTrackSkin_748526063;
this.barSkin = _embed_css_assets_progress_bar_progress_bar_assets_swf_ProgressBarSkin_138477529;
};
}
style = StyleManager.getStyleDeclaration("CheckBox");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("CheckBox",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.borderColor = 6250335;
this.paddingLeft = 4;
this.color = 16777215;
this.fillColors = [15527148,12895428,16777215,15658734];
this.textRollOverColor = 16777215;
this.horizontalGap = 5;
this.themeColor = 10066329;
this.fontFamily = "Lucida Grande,Verdana,Arial,_sans";
this.textSelectedColor = 16777215;
};
}
style = StyleManager.getStyleDeclaration("Button");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("Button",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.paddingLeft = 12;
this.fontWeight = "normal";
this.textRollOverColor = 16777215;
this.upSkin = _embed_css_assets_buttons_Button_upSkin_png_1816313042;
this.fontSize = 14;
this.overSkin = _embed_css_assets_buttons_Button_overSkin_png_1211548296;
this.paddingBottom = 5;
this.fontFamily = "Myriad Pro";
this.paddingTop = 6;
this.paddingRight = 12;
this.downSkin = _embed_css_assets_buttons_Button_downSkin_png_1764482764;
this.disabledSkin = _embed_css_assets_buttons_Button_DisabledSkin_png_1526501160;
this.textSelectedColor = 16777215;
};
}
style = StyleManager.getStyleDeclaration(".myDropDown");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".myDropDown",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.color = 32768;
this.backgroundAlpha = 0;
};
}
style = StyleManager.getStyleDeclaration(".h2");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".h2",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.leading = 4;
this.fontSize = 12;
this.fontFamily = "Myriad Pro Bold";
};
}
style = StyleManager.getStyleDeclaration("TextInput");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("TextInput",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.borderColor = 2236962;
this.outerBorderColor = 4737096;
this.borderSkin = SimpleTwoColorBorder;
this.borderThickness = 2;
this.borderStyle = "solid";
this.backgroundColor = 3750201;
};
}
style = StyleManager.getStyleDeclaration("HRule");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("HRule",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.strokeColor = 3750201;
this.shadowColor = 2236962;
this.borderStyle = "solid";
};
}
style = StyleManager.getStyleDeclaration("Form");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("Form",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.paddingLeft = 0;
};
}
style = StyleManager.getStyleDeclaration(".contentBox");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".contentBox",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.paddingTop = 10;
this.verticalGap = 0;
};
}
style = StyleManager.getStyleDeclaration("FormItem");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("FormItem",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.textAlign = "left";
};
}
style = StyleManager.getStyleDeclaration(".buttonRow");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".buttonRow",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.horizontalAlign = "left";
this.horizontalGap = 12;
};
}
style = StyleManager.getStyleDeclaration("ComboBox");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("ComboBox",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.color = 16777215;
this.textRollOverColor = 16777215;
this.backgroundAlpha = 0;
this.fontSize = 9;
this.dropdownStyleName = "myDropDown";
};
}
style = StyleManager.getStyleDeclaration(".h1");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".h1",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.fontSize = 18;
this.fontFamily = "Myriad Pro";
};
}
style = StyleManager.getStyleDeclaration(".formItemText");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".formItemText",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.fontWeight = "bold";
};
}
style = StyleManager.getStyleDeclaration("HScrollBar");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("HScrollBar",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.downArrowOverSkin = SimpleScrollArrowSkin;
this.scrollThumbIcon = _embed_css__assets_scroll_thumb_png_1502202382;
this.arrowOverFillColor = 5460819;
this.borderStyle = "solid";
this.thumbOverFillColor = 5460819;
this.arrowFillColor = 4408131;
this.thumbUpSkin = SimpleScrollThumbSkin;
this.downArrowUpSkin = SimpleScrollArrowSkin;
this.trackColors = [2236962,2236962];
this.upArrowDisabledSkin = SimpleScrollArrowSkin;
this.highlightAlphas = [0,0];
this.thumbFillColor = 4408131;
this.upArrowUpSkin = SimpleScrollArrowSkin;
this.trackSkin = SimpleScrollTrackSkin;
this.arrowBorderColor = 4737096;
this.arrowIconColor = 2236962;
this.borderColor = 2236962;
this.thumbDownSkin = SimpleScrollThumbSkin;
this.upArrowOverSkin = SimpleScrollArrowSkin;
this.thumbOverSkin = SimpleScrollThumbSkin;
this.themeColor = 5460819;
this.downArrowDownSkin = SimpleScrollArrowSkin;
this.downArrowDisabledSkin = SimpleScrollArrowSkin;
this.thumbBorderColor = 4737096;
this.upArrowDownSkin = SimpleScrollArrowSkin;
};
}
style = StyleManager.getStyleDeclaration("VScrollBar");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("VScrollBar",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.downArrowOverSkin = SimpleScrollArrowSkin;
this.scrollThumbIcon = _embed_css__assets_scroll_thumb_png_1502202382;
this.arrowOverFillColor = 5460819;
this.borderStyle = "solid";
this.thumbOverFillColor = 5460819;
this.arrowFillColor = 4408131;
this.thumbUpSkin = SimpleScrollThumbSkin;
this.downArrowUpSkin = SimpleScrollArrowSkin;
this.trackColors = [2236962,2236962];
this.upArrowDisabledSkin = SimpleScrollArrowSkin;
this.highlightAlphas = [0,0];
this.thumbFillColor = 4408131;
this.upArrowUpSkin = SimpleScrollArrowSkin;
this.trackSkin = SimpleScrollTrackSkin;
this.arrowBorderColor = 4737096;
this.arrowIconColor = 2236962;
this.borderColor = 2236962;
this.thumbDownSkin = SimpleScrollThumbSkin;
this.upArrowOverSkin = SimpleScrollArrowSkin;
this.thumbOverSkin = SimpleScrollThumbSkin;
this.themeColor = 5460819;
this.downArrowDownSkin = SimpleScrollArrowSkin;
this.downArrowDisabledSkin = SimpleScrollArrowSkin;
this.thumbBorderColor = 4737096;
this.upArrowDownSkin = SimpleScrollArrowSkin;
};
}
style = StyleManager.getStyleDeclaration(".errorNumberText");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".errorNumberText",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.textAlign = "right";
this.color = 13421772;
};
}
style = StyleManager.getStyleDeclaration(".textBorderWrapper");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".textBorderWrapper",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.borderColor = 5460819;
this.borderStyle = "solid";
};
}
style = StyleManager.getStyleDeclaration(".defaultButton");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".defaultButton",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.upSkin = _embed_css_assets_buttons_Button_Default_upSkin_png_929957838;
this.overSkin = _embed_css_assets_buttons_Button_Default_overSkin_png_257358164;
this.downSkin = _embed_css_assets_buttons_Button_Default_downSkin_png_1979368144;
this.disabledSkin = _embed_css_assets_buttons_Button_Default_DisabledSkin_png_1697721172;
};
}
style = StyleManager.getStyleDeclaration("EULA");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("EULA",style,false);
}
if(style.factory == null)
{
style.factory = function():void
{
this.paddingTop = 12;
this.verticalGap = 0;
};
}
StyleManager.mx_internal::initProtoChainRoots();
}
private function onPatchLater() : void
{
this.sharedEvents.dispatchEvent(new Event("installui.patchLater"));
}
[Bindable(event="propertyChange")]
public function get updateAppsRunning() : TextArea
{
return this._1318708836updateAppsRunning;
}
private function set redBlockedIcon(param1:Class) : void
{
var _loc2_:Object = null;
_loc2_ = this._1707366196redBlockedIcon;
if(_loc2_ !== param1)
{
this._1707366196redBlockedIcon = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"redBlockedIcon",_loc2_,param1));
}
}
private function _RuntimeInstaller_GridItem1_c() : GridItem
{
var _loc1_:GridItem = new GridItem();
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedLabel3_c());
return _loc1_;
}
[Bindable(event="propertyChange")]
private function get yellowSecurityIcon() : Class
{
return this._703057299yellowSecurityIcon;
}
private function _RuntimeInstaller_State3_c() : State
{
var _loc1_:State = new State();
_loc1_.name = "AdditionalVersion";
_loc1_.overrides = [this._RuntimeInstaller_SetProperty5_i(),this._RuntimeInstaller_AddChild2_i()];
_loc1_.addEventListener("enterState",this.___RuntimeInstaller_State3_enterState);
return _loc1_;
}
private function _RuntimeInstaller_VBox3_i() : VBox
{
var _loc1_:VBox = new VBox();
this._RuntimeInstaller_VBox3 = _loc1_;
_loc1_.styleName = "contentBox";
_loc1_.percentWidth = 100;
_loc1_.percentHeight = 100;
_loc1_.addEventListener("creationComplete",this.___RuntimeInstaller_VBox3_creationComplete);
_loc1_.id = "_RuntimeInstaller_VBox3";
BindingManager.executeBindings(this,"_RuntimeInstaller_VBox3",this._RuntimeInstaller_VBox3);
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedLabel1_c());
_loc1_.addChild(this._RuntimeInstaller_LocalizedText2_i());
_loc1_.addChild(this._RuntimeInstaller_Spacer1_c());
_loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox1_c());
return _loc1_;
}
private function onEULAStyleError(param1:Event) : void
{
this.sharedEvents.dispatchEvent(new Event("installui.stylefailed"));
}
private function _RuntimeInstaller_LocalizedButton5_i() : LocalizedButton
{
var _loc1_:LocalizedButton = new LocalizedButton();
this.patchSameClose = _loc1_;
_loc1_.styleName = "defaultButton";
_loc1_.resourceName = "btnClose";
_loc1_.addEventListener("click",this.__patchSameClose_click);
_loc1_.id = "patchSameClose";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_State12_c() : State
{
var _loc1_:State = new State();
_loc1_.name = "InstallUpdates";
_loc1_.overrides = [this._RuntimeInstaller_SetProperty16_i(),this._RuntimeInstaller_AddChild10_i()];
_loc1_.addEventListener("enterState",this.___RuntimeInstaller_State12_enterState);
return _loc1_;
}
private function _RuntimeInstaller_LocalizedButton12_i() : LocalizedButton
{
var _loc1_:LocalizedButton = new LocalizedButton();
this.patchLater = _loc1_;
_loc1_.styleName = "defaultButton";
_loc1_.resourceName = "btnUpdateLater";
_loc1_.addEventListener("click",this.__patchLater_click);
_loc1_.id = "patchLater";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get progressResourceName() : String
{
return this._287913606progressResourceName;
}
private function _RuntimeInstaller_SetProperty15_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty15 = _loc1_;
_loc1_.name = "stageHeight";
_loc1_.value = 210;
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty15",this._RuntimeInstaller_SetProperty15);
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get contentBox() : VBox
{
return this._264524434contentBox;
}
private function _RuntimeInstaller_VBox10_i() : VBox
{
var _loc1_:VBox = new VBox();
this._RuntimeInstaller_VBox10 = _loc1_;
_loc1_.styleName = "contentBox";
_loc1_.percentWidth = 100;
_loc1_.percentHeight = 100;
_loc1_.addEventListener("creationComplete",this.___RuntimeInstaller_VBox10_creationComplete);
_loc1_.id = "_RuntimeInstaller_VBox10";
BindingManager.executeBindings(this,"_RuntimeInstaller_VBox10",this._RuntimeInstaller_VBox10);
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedText9_i());
_loc1_.addChild(this._RuntimeInstaller_Spacer12_c());
_loc1_.addChild(this._RuntimeInstaller_Canvas2_i());
_loc1_.addChild(this._RuntimeInstaller_Spacer13_i());
_loc1_.addChild(this._RuntimeInstaller_LocalizedText10_c());
_loc1_.addChild(this._RuntimeInstaller_Spacer14_c());
_loc1_.addChild(this._RuntimeInstaller_OSButtonBarHBox8_c());
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get iconBox() : VBox
{
return this._1638746770iconBox;
}
public function __completeFinish_click(param1:MouseEvent) : void
{
this.onFinish();
}
[Bindable(event="propertyChange")]
public function get progressBar() : ProgressBar
{
return this._1131509414progressBar;
}
public function ___RuntimeInstaller_State2_enterState(param1:FlexEvent) : void
{
focusManager.setFocus(this.eula.agree);
}
private function set rightArrow(param1:Class) : void
{
var _loc2_:Object = null;
_loc2_ = this._1415400627rightArrow;
if(_loc2_ !== param1)
{
this._1415400627rightArrow = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"rightArrow",_loc2_,param1));
}
}
public function set errorText(param1:TextArea) : void
{
var _loc2_:Object = null;
_loc2_ = this._329533269errorText;
if(_loc2_ !== param1)
{
this._329533269errorText = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"errorText",_loc2_,param1));
}
}
public function __patchSameClose_click(param1:MouseEvent) : void
{
this.onFinish();
}
private function _RuntimeInstaller_State2_c() : State
{
var _loc1_:State = new State();
_loc1_.name = "FirstLaunchEULA";
_loc1_.basedOn = "EULA";
_loc1_.overrides = [this._RuntimeInstaller_SetProperty2_i(),this._RuntimeInstaller_SetProperty3_i(),this._RuntimeInstaller_SetProperty4_i()];
_loc1_.addEventListener("enterState",this.___RuntimeInstaller_State2_enterState);
return _loc1_;
}
public function ___RuntimeInstaller_VBox11_creationComplete(param1:FlexEvent) : void
{
activate();
}
private function _RuntimeInstaller_RemoveChild3_i() : RemoveChild
{
var _loc1_:RemoveChild = new RemoveChild();
this._RuntimeInstaller_RemoveChild3 = _loc1_;
BindingManager.executeBindings(this,"_RuntimeInstaller_RemoveChild3",this._RuntimeInstaller_RemoveChild3);
return _loc1_;
}
private function _RuntimeInstaller_LocalizedButton4_i() : LocalizedButton
{
var _loc1_:LocalizedButton = new LocalizedButton();
this.patchNewerCancel = _loc1_;
_loc1_.resourceName = "btnCancel";
_loc1_.addEventListener("click",this.__patchNewerCancel_click);
_loc1_.id = "patchNewerCancel";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
public function ___RuntimeInstaller_InstallerApplication1_applicationComplete(param1:FlexEvent) : void
{
this.onApplicationComplete();
}
private function _RuntimeInstaller_State11_c() : State
{
var _loc1_:State = new State();
_loc1_.name = "Complete";
_loc1_.overrides = [this._RuntimeInstaller_SetProperty15_i(),this._RuntimeInstaller_AddChild9_i()];
_loc1_.addEventListener("enterState",this.___RuntimeInstaller_State11_enterState);
return _loc1_;
}
private function _RuntimeInstaller_LocalizedButton11_i() : LocalizedButton
{
var _loc1_:LocalizedButton = new LocalizedButton();
this.patchNow = _loc1_;
_loc1_.resourceName = "btnUpdateNow";
_loc1_.enabled = false;
_loc1_.addEventListener("click",this.__patchNow_click);
_loc1_.id = "patchNow";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_bindingExprs() : void
{
var _loc1_:* = undefined;
_loc1_ = this.airIcon;
_loc1_ = this;
_loc1_ = this.contentBox;
_loc1_ = this.record.isNAI;
_loc1_ = this.eula;
_loc1_ = this.eula;
_loc1_ = this.eula;
_loc1_ = this;
_loc1_ = this.contentBox;
_loc1_ = this.additionalVersionAdd;
_loc1_ = [this.record.versionShort];
_loc1_ = this;
_loc1_ = this.contentBox;
_loc1_ = this.patchNewerUpdate;
_loc1_ = this.record.currentPatchLevel;
_loc1_ = this.record.newPatchLevel;
_loc1_ = this;
_loc1_ = this.contentBox;
_loc1_ = this.patchSameClose;
_loc1_ = this;
_loc1_ = this.contentBox;
_loc1_ = this.patchOlderClose;
_loc1_ = this;
_loc1_ = this.contentBox;
_loc1_ = this.uninstallCancel;
_loc1_ = this.installedApps;
_loc1_ = this;
_loc1_ = this.uninstallAppCanvas;
_loc1_ = this;
_loc1_ = this.contentBox;
_loc1_ = this.progressResourceName;
_loc1_ = this;
_loc1_ = this.progressContent;
_loc1_ = this.contentBox;
_loc1_ = this;
_loc1_ = this.progressCancel;
_loc1_ = this;
_loc1_ = this.contentBox;
_loc1_ = this.completeFinish;
_loc1_ = this.completeLabelResourceName;
_loc1_ = this.completeTextResourceName;
_loc1_ = this;
_loc1_ = this.contentBox;
_loc1_ = this.patchLater;
_loc1_ = this;
_loc1_ = this.updateAppsRunningCanvas;
_loc1_ = this.updateSpacer;
_loc1_ = this.updateText;
_loc1_ = this.patchNow;
_loc1_ = this.patchNow;
_loc1_ = this.patchLater;
_loc1_ = this;
_loc1_ = this.contentBox;
_loc1_ = this.errorClose;
}
private function _RuntimeInstaller_TextArea2_i() : TextArea
{
var _loc1_:TextArea = new TextArea();
this.errorText = _loc1_;
_loc1_.percentWidth = 100;
_loc1_.percentHeight = 100;
_loc1_.editable = false;
_loc1_.focusEnabled = false;
_loc1_.setStyle("backgroundAlpha",0);
_loc1_.setStyle("borderStyle","none");
_loc1_.setStyle("leading",0);
_loc1_.id = "errorText";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
public function ___RuntimeInstaller_State5_enterState(param1:FlexEvent) : void
{
focusManager.setFocus(this.patchSameClose);
}
private function _RuntimeInstaller_ClassFactory1_c() : ClassFactory
{
var _loc1_:ClassFactory = new ClassFactory();
_loc1_.generator = InstalledAppItemRenderer;
return _loc1_;
}
private function _RuntimeInstaller_AddChild11_i() : AddChild
{
var _loc1_:AddChild = new AddChild();
this._RuntimeInstaller_AddChild11 = _loc1_;
_loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox11_i);
BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild11",this._RuntimeInstaller_AddChild11);
return _loc1_;
}
private function _RuntimeInstaller_SetProperty14_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty14 = _loc1_;
_loc1_.name = "visible";
_loc1_.value = false;
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty14",this._RuntimeInstaller_SetProperty14);
return _loc1_;
}
protected function updateProgressAccessibility(param1:ProgressBar) : void
{
if(param1 && param1.accessibilityProperties)
{
param1.accessibilityProperties.name = param1.percentComplete + "%";
}
if(Accessibility.active)
{
Accessibility.updateProperties();
}
}
public function ___RuntimeInstaller_State8_enterState(param1:FlexEvent) : void
{
focusManager.setFocus(this.uninstallCancel);
}
public function set patchNow(param1:LocalizedButton) : void
{
var _loc2_:Object = null;
_loc2_ = this._1230359918patchNow;
if(_loc2_ !== param1)
{
this._1230359918patchNow = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"patchNow",_loc2_,param1));
}
}
private function _RuntimeInstaller_LocalizedText9_i() : LocalizedText
{
var _loc1_:LocalizedText = new LocalizedText();
this.updateText = _loc1_;
_loc1_.percentWidth = 100;
_loc1_.condenseWhite = true;
_loc1_.resourceName = "updateText";
_loc1_.id = "updateText";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
public function __patchNewerCancel_click(param1:MouseEvent) : void
{
this.onCancel();
}
private function _RuntimeInstaller_Spacer9_c() : Spacer
{
var _loc1_:Spacer = new Spacer();
_loc1_.percentHeight = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_TextArea1_i() : TextArea
{
var _loc1_:TextArea = new TextArea();
this.updateAppsRunning = _loc1_;
_loc1_.height = 60;
_loc1_.percentWidth = 100;
_loc1_.styleName = "eulaText";
_loc1_.condenseWhite = true;
_loc1_.editable = false;
_loc1_.selectable = false;
_loc1_.setStyle("leading",5);
_loc1_.id = "updateAppsRunning";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function onPreInitialize() : void
{
locManager = LocalizationManager.getInstance();
locManager.defaultResourceBundleName = className;
}
private function asyncCall(param1:Function, param2:int = 1) : void
{
var f:Function = param1;
var msec:int = param2;
this.asyncCallTimer = new Timer(msec,1);
this.asyncCallTimer.addEventListener(TimerEvent.TIMER,function(param1:Event):void
{
f();
});
this.asyncCallTimer.start();
}
private function _RuntimeInstaller_State1_c() : State
{
var _loc1_:State = new State();
_loc1_.name = "EULA";
_loc1_.overrides = [this._RuntimeInstaller_SetProperty1_i(),this._RuntimeInstaller_AddChild1_i()];
_loc1_.addEventListener("enterState",this.___RuntimeInstaller_State1_enterState);
return _loc1_;
}
private function set downArrowNative(param1:Class) : void
{
var _loc2_:Object = null;
_loc2_ = this._5542018downArrowNative;
if(_loc2_ !== param1)
{
this._5542018downArrowNative = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"downArrowNative",_loc2_,param1));
}
}
private function _RuntimeInstaller_LocalizedButton3_i() : LocalizedButton
{
var _loc1_:LocalizedButton = new LocalizedButton();
this.patchNewerUpdate = _loc1_;
_loc1_.resourceName = "btnUpdate";
_loc1_.styleName = "defaultButton";
_loc1_.addEventListener("click",this.__patchNewerUpdate_click);
_loc1_.id = "patchNewerUpdate";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_RemoveChild2_i() : RemoveChild
{
var _loc1_:RemoveChild = new RemoveChild();
this._RuntimeInstaller_RemoveChild2 = _loc1_;
BindingManager.executeBindings(this,"_RuntimeInstaller_RemoveChild2",this._RuntimeInstaller_RemoveChild2);
return _loc1_;
}
private function _RuntimeInstaller_State10_c() : State
{
var _loc1_:State = new State();
_loc1_.name = "ProgressCancel";
_loc1_.overrides = [this._RuntimeInstaller_SetProperty12_i(),this._RuntimeInstaller_AddChild8_i(),this._RuntimeInstaller_SetProperty13_i(),this._RuntimeInstaller_SetProperty14_i()];
return _loc1_;
}
[Bindable(event="propertyChange")]
private function get appIconNativeBG() : Class
{
return this._463497974appIconNativeBG;
}
private function _RuntimeInstaller_LocalizedButton10_i() : LocalizedButton
{
var _loc1_:LocalizedButton = new LocalizedButton();
this.completeFinish = _loc1_;
_loc1_.styleName = "defaultButton";
_loc1_.resourceName = "btnFinish";
_loc1_.addEventListener("click",this.__completeFinish_click);
_loc1_.id = "completeFinish";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get progressCancel() : LocalizedButton
{
return this._1922221831progressCancel;
}
[Bindable(event="propertyChange")]
private function get redSecurityIcon() : Class
{
return this._2057878774redSecurityIcon;
}
private function _RuntimeInstaller_SetProperty13_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty13 = _loc1_;
_loc1_.name = "progressResourceName";
_loc1_.value = "progressCanceling";
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty13",this._RuntimeInstaller_SetProperty13);
return _loc1_;
}
public function ___RuntimeInstaller_State13_enterState(param1:FlexEvent) : void
{
focusManager.setFocus(this.patchNow);
}
private function _RuntimeInstaller_AddChild10_i() : AddChild
{
var _loc1_:AddChild = new AddChild();
this._RuntimeInstaller_AddChild10 = _loc1_;
_loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox10_i);
BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild10",this._RuntimeInstaller_AddChild10);
return _loc1_;
}
public function set progressContent(param1:VBox) : void
{
var _loc2_:Object = null;
_loc2_ = this._139350644progressContent;
if(_loc2_ !== param1)
{
this._139350644progressContent = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"progressContent",_loc2_,param1));
}
}
private function _RuntimeInstaller_Spacer8_c() : Spacer
{
var _loc1_:Spacer = new Spacer();
_loc1_.percentHeight = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get patchLater() : LocalizedButton
{
return this._1257611044patchLater;
}
public function __iconBox_creationComplete(param1:FlexEvent) : void
{
this.hideFromAccessibility(this.iconBox);
}
public function ___RuntimeInstaller_VBox3_creationComplete(param1:FlexEvent) : void
{
activate();
}
private function _RuntimeInstaller_LocalizedText8_i() : LocalizedText
{
var _loc1_:LocalizedText = new LocalizedText();
this._RuntimeInstaller_LocalizedText8 = _loc1_;
_loc1_.percentWidth = 100;
_loc1_.percentHeight = 100;
_loc1_.condenseWhite = true;
_loc1_.useHTML = true;
_loc1_.id = "_RuntimeInstaller_LocalizedText8";
BindingManager.executeBindings(this,"_RuntimeInstaller_LocalizedText8",this._RuntimeInstaller_LocalizedText8);
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_List1_i() : List
{
var _loc1_:List = new List();
this.installedAppsList = _loc1_;
_loc1_.percentWidth = 100;
_loc1_.rowCount = 4;
_loc1_.selectable = false;
_loc1_.rowHeight = 22;
_loc1_.itemRenderer = this._RuntimeInstaller_ClassFactory1_c();
_loc1_.labelField = "name";
_loc1_.setStyle("borderThickness",1);
_loc1_.addEventListener("creationComplete",this.__installedAppsList_creationComplete);
_loc1_.id = "installedAppsList";
BindingManager.executeBindings(this,"installedAppsList",this.installedAppsList);
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_RemoveChild1_i() : RemoveChild
{
var _loc1_:RemoveChild = new RemoveChild();
this._RuntimeInstaller_RemoveChild1 = _loc1_;
BindingManager.executeBindings(this,"_RuntimeInstaller_RemoveChild1",this._RuntimeInstaller_RemoveChild1);
return _loc1_;
}
private function _RuntimeInstaller_OSButtonBarHBox9_c() : OSButtonBarHBox
{
var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
_loc1_.styleName = "buttonRow";
_loc1_.percentWidth = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedButton13_i());
return _loc1_;
}
private function onDataChange(param1:Event) : void
{
if(this.record.updateRunning.length)
{
currentState = "InstallUpdates";
this.updateAppsRunning.htmlText = this.getUpdateAppsText(this.record.updateRunning);
}
else
{
currentState = "InstallUpdatesNoApps";
}
}
private function _RuntimeInstaller_LocalizedButton2_i() : LocalizedButton
{
var _loc1_:LocalizedButton = new LocalizedButton();
this.additionalVersionCancel = _loc1_;
_loc1_.resourceName = "btnCancel";
_loc1_.addEventListener("click",this.__additionalVersionCancel_click);
_loc1_.id = "additionalVersionCancel";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
[Bindable(event="propertyChange")]
private function get redBlockedIcon() : Class
{
return this._1707366196redBlockedIcon;
}
[Bindable(event="propertyChange")]
public function get completeFinish() : LocalizedButton
{
return this._713956140completeFinish;
}
private function onFinish() : void
{
stage.nativeWindow.visible = false;
this.sharedEvents.dispatchEvent(new Event("installui.complete"));
}
private function _RuntimeInstaller_LocalizedLabel10_c() : LocalizedLabel
{
var _loc1_:LocalizedLabel = new LocalizedLabel();
_loc1_.styleName = "h2";
_loc1_.resourceName = "titleError";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
public function __patchOlderClose_click(param1:MouseEvent) : void
{
this.onFinish();
}
public function __patchNow_click(param1:MouseEvent) : void
{
this.onPatchNow();
}
private function _RuntimeInstaller_SetProperty12_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty12 = _loc1_;
_loc1_.name = "stageHeight";
_loc1_.value = 210;
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty12",this._RuntimeInstaller_SetProperty12);
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get errorText() : TextArea
{
return this._329533269errorText;
}
private function _RuntimeInstaller_Spacer7_c() : Spacer
{
var _loc1_:Spacer = new Spacer();
_loc1_.percentHeight = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
protected function accessibleName(param1:String, param2:String = null) : AccessibilityProperties
{
var _loc3_:AccessibilityProperties = new AccessibilityProperties();
_loc3_.name = LocalizationManager.getInstance().getString(param1,param2);
return _loc3_;
}
private function _RuntimeInstaller_LocalizedText7_c() : LocalizedText
{
var _loc1_:LocalizedText = new LocalizedText();
_loc1_.percentWidth = 100;
_loc1_.condenseWhite = true;
_loc1_.resourceName = "msgConfirmRemoveAirPrompt";
_loc1_.useHTML = true;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
public function set updateText(param1:LocalizedText) : void
{
var _loc2_:Object = null;
_loc2_ = this._295934570updateText;
if(_loc2_ !== param1)
{
this._295934570updateText = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"updateText",_loc2_,param1));
}
}
public function ___RuntimeInstaller_VBox5_creationComplete(param1:FlexEvent) : void
{
activate();
}
private function onError(param1:ErrorEvent) : void
{
var _loc2_:String = null;
if(this.ERROR_ID_TO_NAME.hasOwnProperty(param1.errorID))
{
_loc2_ = this.ERROR_ID_TO_NAME[param1.errorID];
}
else if(this.record.type == "uninstall")
{
_loc2_ = "genericUninstallError";
}
else
{
_loc2_ = "genericInstallError";
}
currentState = "Error";
this.errorText.text = locManager.getString(_loc2_);
}
public function __progressContent_creationComplete(param1:FlexEvent) : void
{
activate();
}
private function _RuntimeInstaller_OSButtonBarHBox8_c() : OSButtonBarHBox
{
var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
_loc1_.percentWidth = 100;
_loc1_.styleName = "buttonRow";
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedButton11_i());
_loc1_.addChild(this._RuntimeInstaller_LocalizedButton12_i());
return _loc1_;
}
[Bindable(event="propertyChange")]
private function get rightArrow() : Class
{
return this._1415400627rightArrow;
}
public function set patchOlderClose(param1:LocalizedButton) : void
{
var _loc2_:Object = null;
_loc2_ = this._1748930644patchOlderClose;
if(_loc2_ !== param1)
{
this._1748930644patchOlderClose = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"patchOlderClose",_loc2_,param1));
}
}
private function _RuntimeInstaller_SetStyle2_i() : SetStyle
{
var _loc1_:SetStyle = new SetStyle();
this._RuntimeInstaller_SetStyle2 = _loc1_;
_loc1_.name = "styleName";
_loc1_.value = "";
BindingManager.executeBindings(this,"_RuntimeInstaller_SetStyle2",this._RuntimeInstaller_SetStyle2);
return _loc1_;
}
private function _RuntimeInstaller_LocalizedButton1_i() : LocalizedButton
{
var _loc1_:LocalizedButton = new LocalizedButton();
this.additionalVersionAdd = _loc1_;
_loc1_.resourceName = "btnContinue";
_loc1_.styleName = "defaultButton";
_loc1_.setStyle("icon",this._embed_mxml_assets_add_png_189231772);
_loc1_.addEventListener("click",this.__additionalVersionAdd_click);
_loc1_.id = "additionalVersionAdd";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_Grid1_c() : Grid
{
var _loc1_:Grid = new Grid();
_loc1_.percentWidth = 100;
_loc1_.setStyle("verticalGap",0);
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_GridRow1_c());
_loc1_.addChild(this._RuntimeInstaller_GridRow2_c());
return _loc1_;
}
private function _RuntimeInstaller_SetProperty9_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty9 = _loc1_;
_loc1_.name = "stageHeight";
_loc1_.value = 300;
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty9",this._RuntimeInstaller_SetProperty9);
return _loc1_;
}
public function set patchNewerCancel(param1:LocalizedButton) : void
{
var _loc2_:Object = null;
_loc2_ = this._503203263patchNewerCancel;
if(_loc2_ !== param1)
{
this._503203263patchNewerCancel = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"patchNewerCancel",_loc2_,param1));
}
}
private function set rightArrowNative(param1:Class) : void
{
var _loc2_:Object = null;
_loc2_ = this._1501004228rightArrowNative;
if(_loc2_ !== param1)
{
this._1501004228rightArrowNative = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"rightArrowNative",_loc2_,param1));
}
}
[Bindable(event="propertyChange")]
private function get downArrowNative() : Class
{
return this._5542018downArrowNative;
}
override public function initialize() : void
{
var target:RuntimeInstaller = null;
var watcherSetupUtilClass:Object = null;
mx_internal::setDocumentDescriptor(this._documentDescriptor_);
var bindings:Array = this._RuntimeInstaller_bindingsSetup();
var watchers:Array = [];
target = this;
if(_watcherSetupUtil == null)
{
watcherSetupUtilClass = getDefinitionByName("_RuntimeInstallerWatcherSetupUtil");
watcherSetupUtilClass["init"](null);
}
_watcherSetupUtil.setup(this,function(param1:String):*
{
return target[param1];
},bindings,watchers);
var i:uint = 0;
while(i < bindings.length)
{
Binding(bindings[i]).execute();
i++;
}
mx_internal::_bindings = mx_internal::_bindings.concat(bindings);
mx_internal::_watchers = mx_internal::_watchers.concat(watchers);
super.initialize();
}
private function _RuntimeInstaller_SetProperty11_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty11 = _loc1_;
_loc1_.name = "stageHeight";
_loc1_.value = 210;
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty11",this._RuntimeInstaller_SetProperty11);
return _loc1_;
}
public function set installedAppsList(param1:List) : void
{
var _loc2_:Object = null;
_loc2_ = this._1112610870installedAppsList;
if(_loc2_ !== param1)
{
this._1112610870installedAppsList = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"installedAppsList",_loc2_,param1));
}
}
public function set patchSameClose(param1:LocalizedButton) : void
{
var _loc2_:Object = null;
_loc2_ = this._607735242patchSameClose;
if(_loc2_ !== param1)
{
this._607735242patchSameClose = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"patchSameClose",_loc2_,param1));
}
}
private function getUpdateAppsText(param1:Array) : String
{
var _loc2_:* = "";
if(!param1)
{
return _loc2_;
}
var _loc3_:int = 0;
while(_loc3_ < param1.length)
{
_loc2_ += Object(param1[_loc3_]).label;
if(_loc3_ < param1.length - 1)
{
_loc2_ += "<br />";
}
_loc3_++;
}
return _loc2_;
}
private function _RuntimeInstaller_LocalizedText6_c() : LocalizedText
{
var _loc1_:LocalizedText = new LocalizedText();
_loc1_.percentWidth = 100;
_loc1_.condenseWhite = true;
_loc1_.resourceName = "msgConfirmRemoveAir";
_loc1_.useHTML = true;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
public function ___RuntimeInstaller_VBox7_creationComplete(param1:FlexEvent) : void
{
activate();
}
private function _RuntimeInstaller_Spacer6_c() : Spacer
{
var _loc1_:Spacer = new Spacer();
_loc1_.percentHeight = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get patchOlderClose() : LocalizedButton
{
return this._1748930644patchOlderClose;
}
private function _RuntimeInstaller_AddChild9_i() : AddChild
{
var _loc1_:AddChild = new AddChild();
this._RuntimeInstaller_AddChild9 = _loc1_;
_loc1_.targetFactory = new DeferredInstanceFromFunction(this._RuntimeInstaller_VBox9_i);
BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild9",this._RuntimeInstaller_AddChild9);
return _loc1_;
}
private function _RuntimeInstaller_GridRow2_c() : GridRow
{
var _loc1_:GridRow = new GridRow();
_loc1_.percentWidth = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_GridItem3_c());
_loc1_.addChild(this._RuntimeInstaller_GridItem4_c());
return _loc1_;
}
private function _RuntimeInstaller_LocalizedLabel9_i() : LocalizedLabel
{
var _loc1_:LocalizedLabel = new LocalizedLabel();
this._RuntimeInstaller_LocalizedLabel9 = _loc1_;
_loc1_.styleName = "h2";
_loc1_.id = "_RuntimeInstaller_LocalizedLabel9";
BindingManager.executeBindings(this,"_RuntimeInstaller_LocalizedLabel9",this._RuntimeInstaller_LocalizedLabel9);
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_SetProperty8_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty8 = _loc1_;
_loc1_.name = "stageHeight";
_loc1_.value = 210;
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty8",this._RuntimeInstaller_SetProperty8);
return _loc1_;
}
private function _RuntimeInstaller_OSButtonBarHBox7_c() : OSButtonBarHBox
{
var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
_loc1_.styleName = "buttonRow";
_loc1_.percentWidth = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedButton10_i());
return _loc1_;
}
protected function hiddenAccessibility() : AccessibilityProperties
{
var _loc1_:AccessibilityProperties = new AccessibilityProperties();
_loc1_.silent = true;
return _loc1_;
}
[Bindable(event="propertyChange")]
public function get installedAppsList() : List
{
return this._1112610870installedAppsList;
}
private function _RuntimeInstaller_SetStyle1_i() : SetStyle
{
var _loc1_:SetStyle = new SetStyle();
this._RuntimeInstaller_SetStyle1 = _loc1_;
_loc1_.name = "styleName";
_loc1_.value = "defaultButton";
BindingManager.executeBindings(this,"_RuntimeInstaller_SetStyle1",this._RuntimeInstaller_SetStyle1);
return _loc1_;
}
private function _RuntimeInstaller_Spacer5_c() : Spacer
{
var _loc1_:Spacer = new Spacer();
_loc1_.percentHeight = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_SetProperty10_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty10 = _loc1_;
_loc1_.name = "stageHeight";
_loc1_.value = 200;
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty10",this._RuntimeInstaller_SetProperty10);
return _loc1_;
}
private function _RuntimeInstaller_LocalizedText5_c() : LocalizedText
{
var _loc1_:LocalizedText = new LocalizedText();
_loc1_.percentWidth = 100;
_loc1_.condenseWhite = true;
_loc1_.resourceName = "errNewerVersionAlreadyInstalled";
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_OSButtonBarHBox6_c() : OSButtonBarHBox
{
var _loc1_:OSButtonBarHBox = new OSButtonBarHBox();
_loc1_.styleName = "buttonRow";
_loc1_.percentWidth = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_LocalizedButton9_i());
return _loc1_;
}
private function onConfirm() : void
{
if(currentState == "PatchNewer" && !this.record.isEULAAccepted)
{
currentState = "EULA";
}
else
{
currentState = "Progress";
this.sharedEvents.dispatchEvent(new Event("installui.confirm"));
}
}
private function _RuntimeInstaller_GridRow1_c() : GridRow
{
var _loc1_:GridRow = new GridRow();
_loc1_.percentWidth = 100;
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_GridItem1_c());
_loc1_.addChild(this._RuntimeInstaller_GridItem2_c());
return _loc1_;
}
public function __eula_agree(param1:Event) : void
{
this.onConfirm();
}
private function _RuntimeInstaller_Canvas2_i() : Canvas
{
var _loc1_:Canvas = new Canvas();
this.updateAppsRunningCanvas = _loc1_;
_loc1_.styleName = "textBorderWrapper";
_loc1_.percentWidth = 100;
_loc1_.id = "updateAppsRunningCanvas";
if(!_loc1_.document)
{
_loc1_.document = this;
}
_loc1_.addChild(this._RuntimeInstaller_TextArea1_i());
return _loc1_;
}
private function _RuntimeInstaller_AddChild8_i() : AddChild
{
var _loc1_:AddChild = new AddChild();
this._RuntimeInstaller_AddChild8 = _loc1_;
BindingManager.executeBindings(this,"_RuntimeInstaller_AddChild8",this._RuntimeInstaller_AddChild8);
return _loc1_;
}
public function set uninstallCancel(param1:LocalizedButton) : void
{
var _loc2_:Object = null;
_loc2_ = this._1634233860uninstallCancel;
if(_loc2_ !== param1)
{
this._1634233860uninstallCancel = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"uninstallCancel",_loc2_,param1));
}
}
private function _RuntimeInstaller_LocalizedLabel8_i() : LocalizedLabel
{
var _loc1_:LocalizedLabel = new LocalizedLabel();
this.progressLabel = _loc1_;
_loc1_.styleName = "formItemText";
_loc1_.id = "progressLabel";
BindingManager.executeBindings(this,"progressLabel",this.progressLabel);
if(!_loc1_.document)
{
_loc1_.document = this;
}
return _loc1_;
}
private function _RuntimeInstaller_SetProperty7_i() : SetProperty
{
var _loc1_:SetProperty = new SetProperty();
this._RuntimeInstaller_SetProperty7 = _loc1_;
_loc1_.name = "stageHeight";
_loc1_.value = 210;
BindingManager.executeBindings(this,"_RuntimeInstaller_SetProperty7",this._RuntimeInstaller_SetProperty7);
return _loc1_;
}
private function set appIconBG(param1:Class) : void
{
var _loc2_:Object = null;
_loc2_ = this._1197773823appIconBG;
if(_loc2_ !== param1)
{
this._1197773823appIconBG = param1;
this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,"appIconBG",_loc2_,param1));
}
}
[Bindable(event="propertyChange")]
private function get appIconBG() : Class
{
return this._1197773823appIconBG;
}
}
}